|
@@ -1,4 +1,5 @@
|
|
|
-using UAS_DeviceMonitor.CustomerControl.AutoDataGridControl;
|
|
|
|
|
|
|
+using DevExpress.XtraEditors;
|
|
|
|
|
+using UAS_DeviceMonitor.CustomerControl.AutoDataGridControl;
|
|
|
|
|
|
|
|
namespace UAS_DeviceMonitor
|
|
namespace UAS_DeviceMonitor
|
|
|
{
|
|
{
|
|
@@ -58,6 +59,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.de_address = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.de_address = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_wccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.de_wccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.PageCommandSet = new DevExpress.XtraTab.XtraTabPage();
|
|
this.PageCommandSet = new DevExpress.XtraTab.XtraTabPage();
|
|
|
|
|
+ this.ButtonNewCommand = new SimpleButton();
|
|
|
this.ButtonSaveCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
|
|
this.ButtonSaveCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
|
|
|
this.GridCommandSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
this.GridCommandSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.GridViewCommandSet = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.GridViewCommandSet = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
@@ -371,6 +373,7 @@ namespace UAS_DeviceMonitor
|
|
|
//
|
|
//
|
|
|
// PageCommandSet
|
|
// PageCommandSet
|
|
|
//
|
|
//
|
|
|
|
|
+ this.PageCommandSet.Controls.Add(this.ButtonNewCommand);
|
|
|
this.PageCommandSet.Controls.Add(this.ButtonSaveCommand);
|
|
this.PageCommandSet.Controls.Add(this.ButtonSaveCommand);
|
|
|
this.PageCommandSet.Controls.Add(this.GridCommandSetting);
|
|
this.PageCommandSet.Controls.Add(this.GridCommandSetting);
|
|
|
this.PageCommandSet.Name = "PageCommandSet";
|
|
this.PageCommandSet.Name = "PageCommandSet";
|
|
@@ -378,6 +381,15 @@ namespace UAS_DeviceMonitor
|
|
|
this.PageCommandSet.Size = new System.Drawing.Size(1027, 577);
|
|
this.PageCommandSet.Size = new System.Drawing.Size(1027, 577);
|
|
|
this.PageCommandSet.Text = "xtraTabPage1";
|
|
this.PageCommandSet.Text = "xtraTabPage1";
|
|
|
//
|
|
//
|
|
|
|
|
+ // ButtonNewCommand
|
|
|
|
|
+ //
|
|
|
|
|
+ this.ButtonNewCommand.Location = new System.Drawing.Point(886, 551);
|
|
|
|
|
+ this.ButtonNewCommand.Name = "ButtonNewCommand";
|
|
|
|
|
+ this.ButtonNewCommand.Size = new System.Drawing.Size(64, 23);
|
|
|
|
|
+ this.ButtonNewCommand.TabIndex = 3;
|
|
|
|
|
+ this.ButtonNewCommand.Text = "新增";
|
|
|
|
|
+ this.ButtonNewCommand.Click += new System.EventHandler(this.ButtonNewCommand_Click);
|
|
|
|
|
+ //
|
|
|
// ButtonSaveCommand
|
|
// ButtonSaveCommand
|
|
|
//
|
|
//
|
|
|
this.ButtonSaveCommand.Grid = null;
|
|
this.ButtonSaveCommand.Grid = null;
|
|
@@ -389,8 +401,8 @@ namespace UAS_DeviceMonitor
|
|
|
//
|
|
//
|
|
|
// GridCommandSetting
|
|
// GridCommandSetting
|
|
|
//
|
|
//
|
|
|
- this.GridCommandSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
- | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
|
|
+ this.GridCommandSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
+ | System.Windows.Forms.AnchorStyles.Left)
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.GridCommandSetting.GetDataSQL = null;
|
|
this.GridCommandSetting.GetDataSQL = null;
|
|
|
this.GridCommandSetting.ID = null;
|
|
this.GridCommandSetting.ID = null;
|
|
@@ -472,8 +484,8 @@ namespace UAS_DeviceMonitor
|
|
|
//
|
|
//
|
|
|
// GridPollingSetting
|
|
// GridPollingSetting
|
|
|
//
|
|
//
|
|
|
- this.GridPollingSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
- | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
|
|
+ this.GridPollingSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
+ | System.Windows.Forms.AnchorStyles.Left)
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.GridPollingSetting.GetDataSQL = null;
|
|
this.GridPollingSetting.GetDataSQL = null;
|
|
|
this.GridPollingSetting.ID = null;
|
|
this.GridPollingSetting.ID = null;
|
|
@@ -485,7 +497,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridPollingSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
this.GridPollingSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
this.dpc_enableCheckEdit});
|
|
this.dpc_enableCheckEdit});
|
|
|
this.GridPollingSetting.RowCount = 0;
|
|
this.GridPollingSetting.RowCount = 0;
|
|
|
- this.GridPollingSetting.Size = new System.Drawing.Size(1027, 582);
|
|
|
|
|
|
|
+ this.GridPollingSetting.Size = new System.Drawing.Size(1027, 545);
|
|
|
this.GridPollingSetting.TabIndex = 0;
|
|
this.GridPollingSetting.TabIndex = 0;
|
|
|
this.GridPollingSetting.TableName = null;
|
|
this.GridPollingSetting.TableName = null;
|
|
|
this.GridPollingSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.GridPollingSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
@@ -685,8 +697,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False;
|
|
this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False;
|
|
|
this.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
|
|
this.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
|
|
|
this.Appearance.Options.UseForeColor = true;
|
|
this.Appearance.Options.UseForeColor = true;
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
|
|
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
|
this.ClientSize = new System.Drawing.Size(1033, 711);
|
|
this.ClientSize = new System.Drawing.Size(1033, 711);
|
|
|
this.Controls.Add(this.MainTabControl);
|
|
this.Controls.Add(this.MainTabControl);
|
|
|
this.Controls.Add(this.RibbonNav);
|
|
this.Controls.Add(this.RibbonNav);
|
|
@@ -777,5 +788,6 @@ namespace UAS_DeviceMonitor
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_remark;
|
|
private DevExpress.XtraGrid.Columns.GridColumn dpc_remark;
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit dpc_enableCheckEdit;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit dpc_enableCheckEdit;
|
|
|
private CustomerControl.Button.ButtonAddRow ButtonSaveCommand;
|
|
private CustomerControl.Button.ButtonAddRow ButtonSaveCommand;
|
|
|
|
|
+ private SimpleButton ButtonNewCommand;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|