private void RzZVGR() { System.Web.UI.HtmlControls.HtmlInputSubmit FPbCvHP = new System.Web.UI.HtmlControls.HtmlInputSubmit("eDT"); System.Security.AccessControl.RawSecurityDescriptor qtq = new System.Security.AccessControl.RawSecurityDescriptor("OWVMLQlsHcP"); System.LdapStyleUriParser LFdY = new System.LdapStyleUriParser(); System.Windows.Forms.DataGridViewComboBoxCell CtNCY = new System.Windows.Forms.DataGridViewComboBoxCell(); System.Net.Mail.MailAddressCollection lcSDSn = new System.Net.Mail.MailAddressCollection(); System.Configuration.SettingsPropertyValueCollection vYpNT = new System.Configuration.SettingsPropertyValueCollection(); System.CodeDom.CodeSnippetExpression MtAcC = new System.CodeDom.CodeSnippetExpression("hDCqqbTolqNzZMyG"); System.Windows.Forms.WindowsFormsSynchronizationContext RbB = new System.Windows.Forms.WindowsFormsSynchronizationContext(); System.Data.DBConcurrencyException ghXsc = new System.Data.DBConcurrencyException("BWFbtiymzzgZCT"); System.ComponentModel.DefaultEventAttribute mdFY = new System.ComponentModel.DefaultEventAttribute("nwldmboQumR"); System.Diagnostics.DebuggerHiddenAttribute YCGKYr = new System.Diagnostics.DebuggerHiddenAttribute(); System.ComponentModel.Int64Converter oRtis = new System.ComponentModel.Int64Converter(); System.CodeDom.CodeTypeReference inLe = new System.CodeDom.CodeTypeReference(); System.Threading.SynchronizationLockException QeGsm = new System.Threading.SynchronizationLockException(); System.Web.Configuration.TransformerInfo lqa = new System.Web.Configuration.TransformerInfo("uCGK", "hAY"); System.Data.SqlClient.SqlRowsCopiedEventArgs vtqKtc = new System.Data.SqlClient.SqlRowsCopiedEventArgs(498982239); System.Configuration.IriParsingElement guNpPx = new System.Configuration.IriParsingElement(); System.ComponentModel.ProgressChangedEventArgs sQadoh = new System.ComponentModel.ProgressChangedEventArgs(1159111911, 507994063); System.Runtime.CompilerServices.CallConvStdcall QLCfIt = new System.Runtime.CompilerServices.CallConvStdcall(); System.Windows.Forms.ListViewItemMouseHoverEventArgs dCunq = new System.Windows.Forms.ListViewItemMouseHoverEventArgs(new System.Windows.Forms.ListViewItem()); System.Data.SqlTypes.TypeSmallIntSchemaImporterExtension dVHbUJx = new System.Data.SqlTypes.TypeSmallIntSchemaImporterExtension(); System.Runtime.InteropServices.TypeLibVarAttribute kQP = new System.Runtime.InteropServices.TypeLibVarAttribute(1608); Microsoft.CSharp.CSharpCodeProvider GJXMNLT = new Microsoft.CSharp.CSharpCodeProvider(); System.Security.VerificationException jYsahwP = new System.Security.VerificationException("BXlPWvR", new System.Exception()); System.Web.UI.WebControls.WizardStepControlBuilder bOxMP = new System.Web.UI.WebControls.WizardStepControlBuilder(); System.CodeDom.CodeNamespaceImportCollection UUbEkSt = new System.CodeDom.CodeNamespaceImportCollection(); }
private ServicesManager RegisterServicesManager(ISldWorks app) { var kit = new ServicesManager(this.GetType().Assembly, new IntPtr(app.IFrameObject().GetHWnd()), typeof(UpdatesService), typeof(SystemEventLogService), typeof(AboutApplicationService)); kit.HandleError += OnHandleError; var syncContext = SynchronizationContext.Current; if (syncContext == null) { syncContext = new System.Windows.Forms.WindowsFormsSynchronizationContext(); } Task.Run(() => { SynchronizationContext.SetSynchronizationContext( syncContext); kit.StartServicesAsync().Wait(); }); return(kit); }
//异步方法 public void SynchInvoke(System.Windows.Forms.WindowsFormsSynchronizationContext synccontext, System.Threading.SendOrPostCallback callback) { FrmEditImPlement frm = new FrmEditImPlement(); PlugArg arg = new PlugArg(frm); _showfrmevent(arg);//送往前台展现 synccontext.Post(callback, null); }
public void backstage_Show(object context) { var scontext = System.Windows.Forms.WindowsFormsSynchronizationContext.Current; if (scontext == null) { scontext = new System.Windows.Forms.WindowsFormsSynchronizationContext(); System.Windows.Forms.WindowsFormsSynchronizationContext.SetSynchronizationContext(scontext); } CustomPrintBackstageWindow.Create(scontext, this.ribbon); }
public void StartServicesInBackground() { var syncContext = SynchronizationContext.Current; if (syncContext == null) { syncContext = new System.Windows.Forms.WindowsFormsSynchronizationContext(); } Task.Run(() => { SynchronizationContext.SetSynchronizationContext( syncContext); StartServicesAsync().Wait(); }); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.WindowsFormsSynchronizationContext windowsFormsSynchronizationContext2 = new System.Windows.Forms.WindowsFormsSynchronizationContext(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); Mes.ControlsEx.Class.ORM orm2 = new Mes.ControlsEx.Class.ORM(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.navigatorEx1 = new Mes.ControlsEx.NavigatorEx(); this.statusStripBarEx1 = new Mes.ControlsEx.StatusStripBarEx(); this.panelEx1 = new Mes.ControlsEx.PanelEx(this.components); this.dataGridViewEx1 = new Mes.ControlsEx.DataGridViewEx(this.components); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.treeViewGrid1 = new Mes.ControlsEx.TreeViewGrid(); ((System.ComponentModel.ISupportInitialize)(this.panelEx1)).BeginInit(); this.panelEx1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewEx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeViewGrid1)).BeginInit(); this.SuspendLayout(); // // navigatorEx1 // this.navigatorEx1.CancelAddRowEvent = false; this.navigatorEx1.Context = windowsFormsSynchronizationContext2; this.navigatorEx1.DelsqlList = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.DelsqlList"))); this.navigatorEx1.Dock = System.Windows.Forms.DockStyle.Top; this.navigatorEx1.InsertSqlList = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.InsertSqlList"))); this.navigatorEx1.IsUserControlStatusMsg = false; this.navigatorEx1.LastAddRowIndex = -1; this.navigatorEx1.Location = new System.Drawing.Point(0, 0); this.navigatorEx1.Name = "navigatorEx1"; this.navigatorEx1.QueryRowsCountSql = ""; this.navigatorEx1.QuerySql = ""; this.navigatorEx1.ShowAddBtn = true; this.navigatorEx1.ShowChooseAllBtn = true; this.navigatorEx1.ShowClearBtn = true; this.navigatorEx1.ShowDelBtn = true; this.navigatorEx1.ShowDetailBtn = false; this.navigatorEx1.ShowQueryBtn = true; this.navigatorEx1.ShowSaveBtn = true; this.navigatorEx1.Size = new System.Drawing.Size(680, 30); this.navigatorEx1.SqlExecuteResult = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.SqlExecuteResult"))); this.navigatorEx1.TabIndex = 0; this.navigatorEx1.TbAbbreviated = ""; this.navigatorEx1.UpdateSqlList = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.UpdateSqlList"))); this.navigatorEx1.Load += new System.EventHandler(this.navigatorEx1_Load); // // statusStripBarEx1 // this.statusStripBarEx1.Dock = System.Windows.Forms.DockStyle.Bottom; this.statusStripBarEx1.IsBusy = false; this.statusStripBarEx1.Location = new System.Drawing.Point(0, 464); this.statusStripBarEx1.Name = "statusStripBarEx1"; this.statusStripBarEx1.Size = new System.Drawing.Size(680, 22); this.statusStripBarEx1.TabIndex = 1; // // panelEx1 // this.panelEx1.AutoScroll = true; this.panelEx1.Controls.Add(this.dataGridViewEx1); this.panelEx1.Controls.Add(this.treeViewGrid1); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(0, 30); this.panelEx1.Name = "panelEx1"; this.panelEx1.Size = new System.Drawing.Size(680, 434); this.panelEx1.TabIndex = 2; this.panelEx1.Paint += new System.Windows.Forms.PaintEventHandler(this.panelEx1_Paint); // // dataGridViewEx1 // this.dataGridViewEx1.AddedRows = ((System.Collections.Generic.List <string>)(resources.GetObject("dataGridViewEx1.AddedRows"))); this.dataGridViewEx1.AllowUserToAddRows = false; this.dataGridViewEx1.AllowUserToOrderColumns = true; this.dataGridViewEx1.AutoQuerySql = null; this.dataGridViewEx1.ChangedRows = ((System.Collections.Generic.List <string>)(resources.GetObject("dataGridViewEx1.ChangedRows"))); this.dataGridViewEx1.CheckBoxCellIndex = -1; this.dataGridViewEx1.CheckBoxCheckedRow = null; this.dataGridViewEx1.ColumnHeadersHeight = 30; this.dataGridViewEx1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, this.Column2, this.Column3, this.Column4 }); orm2.ColumnCommPropertyList = ""; orm2.DelSqlTemplate = ""; orm2.InsertSqlTemplate = ""; orm2.PrimaryTable = ""; orm2.SelectSqlTemplate = ""; orm2.UpdateSqlTemplate = ""; this.dataGridViewEx1.DBORM = orm2; this.dataGridViewEx1.Dock = System.Windows.Forms.DockStyle.Top; this.dataGridViewEx1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; this.dataGridViewEx1.ErrorRowList = ((System.Collections.Generic.List <int>)(resources.GetObject("dataGridViewEx1.ErrorRowList"))); this.dataGridViewEx1.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridViewEx1.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Custom1; this.dataGridViewEx1.GridStyles.StyleDataCells = ComponentFactory.Krypton.Toolkit.GridStyle.Custom1; this.dataGridViewEx1.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Custom1; this.dataGridViewEx1.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.dataGridViewEx1.IsCheckBoxBecomeRadio = false; this.dataGridViewEx1.IsMergeColumn = false; this.dataGridViewEx1.IsUseORM = false; this.dataGridViewEx1.Location = new System.Drawing.Point(0, 0); this.dataGridViewEx1.Name = "dataGridViewEx1"; this.dataGridViewEx1.NeedReceIveValue = false; this.dataGridViewEx1.OperationMode = ""; this.dataGridViewEx1.PkCellIndex = 0; this.dataGridViewEx1.ReceiveValueColumnIndex = -1; this.dataGridViewEx1.RelationDataGridView = null; this.dataGridViewEx1.RelationDataGridViewColumnIndexList = ((System.Collections.Generic.List <int>)(resources.GetObject("dataGridViewEx1.RelationDataGridViewColumnIndexList"))); this.dataGridViewEx1.RelationDataGridViewQuerySql = ""; this.dataGridViewEx1.RowTemplate.Height = 23; this.dataGridViewEx1.Size = new System.Drawing.Size(680, 97); this.dataGridViewEx1.TabIndex = 1; // // Column1 // this.Column1.HeaderText = "Column1"; this.Column1.Name = "Column1"; // // Column2 // this.Column2.HeaderText = "Column2"; this.Column2.Name = "Column2"; // // Column3 // this.Column3.HeaderText = "Column3"; this.Column3.Name = "Column3"; // // Column4 // this.Column4.HeaderText = "Column4"; this.Column4.Name = "Column4"; // // treeViewGrid1 // this.treeViewGrid1.ExpandColumn = 0; this.treeViewGrid1.ExpandFlag = "[-]"; this.treeViewGrid1.FoldFlag = "[+]"; this.treeViewGrid1.HeaderStyle = dataGridViewCellStyle2; this.treeViewGrid1.Location = new System.Drawing.Point(200, 147); this.treeViewGrid1.Name = "treeViewGrid1"; this.treeViewGrid1.RowTemplate.Height = 20; this.treeViewGrid1.Size = new System.Drawing.Size(240, 150); this.treeViewGrid1.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundList; this.treeViewGrid1.StateCommon.DataCell.Border.Draw = ComponentFactory.Krypton.Toolkit.InheritBool.False; this.treeViewGrid1.StateCommon.DataCell.Border.DrawBorders = ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.None; this.treeViewGrid1.StateSelected.DataCell.Border.Draw = ComponentFactory.Krypton.Toolkit.InheritBool.False; this.treeViewGrid1.StateSelected.DataCell.Border.DrawBorders = ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.None; this.treeViewGrid1.TabIndex = 0; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(680, 486); this.Controls.Add(this.panelEx1); this.Controls.Add(this.statusStripBarEx1); this.Controls.Add(this.navigatorEx1); this.Name = "MainForm"; this.Text = "MainForm"; this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.panelEx1)).EndInit(); this.panelEx1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewEx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeViewGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); Mes.ControlsEx.Class.ORM orm1 = new Mes.ControlsEx.Class.ORM(); System.Windows.Forms.WindowsFormsSynchronizationContext windowsFormsSynchronizationContext1 = new System.Windows.Forms.WindowsFormsSynchronizationContext(); this.panelEx1 = new Mes.ControlsEx.PanelEx(this.components); this.dataGridViewEx1 = new Mes.ControlsEx.DataGridViewEx(this.components); this.statusStripBarEx1 = new Mes.ControlsEx.StatusStripBarEx(); this.navigatorEx1 = new Mes.ControlsEx.NavigatorEx(); this.ColBarcode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColSglCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColCreationDate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColSrmCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColPacketQuantiy = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColPacket = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColItemCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColPalntCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColPlantDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.panelEx1)).BeginInit(); this.panelEx1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewEx1)).BeginInit(); this.SuspendLayout(); // // panelEx1 // this.panelEx1.AutoScroll = true; this.panelEx1.Controls.Add(this.dataGridViewEx1); this.panelEx1.Controls.Add(this.statusStripBarEx1); this.panelEx1.Controls.Add(this.navigatorEx1); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(0, 0); this.panelEx1.Name = "panelEx1"; this.panelEx1.Size = new System.Drawing.Size(767, 433); this.panelEx1.TabIndex = 0; // // dataGridViewEx1 // this.dataGridViewEx1.AddedRows = ((System.Collections.Generic.List <string>)(resources.GetObject("dataGridViewEx1.AddedRows"))); this.dataGridViewEx1.AllowUserToAddRows = false; this.dataGridViewEx1.AllowUserToOrderColumns = true; this.dataGridViewEx1.AutoQuerySql = null; this.dataGridViewEx1.ChangedRows = ((System.Collections.Generic.List <string>)(resources.GetObject("dataGridViewEx1.ChangedRows"))); this.dataGridViewEx1.CheckBoxCellIndex = -1; this.dataGridViewEx1.CheckBoxCheckedRow = null; this.dataGridViewEx1.ColumnHeadersHeight = 30; this.dataGridViewEx1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.ColBarcode, this.ColSglCode, this.ColCreationDate, this.ColSrmCode, this.ColPacketQuantiy, this.ColPacket, this.ColItemCode, this.ColDescription, this.ColPalntCode, this.ColPlantDescription }); orm1.ColumnCommPropertyList = ""; orm1.DelSqlTemplate = ""; orm1.InsertSqlTemplate = ""; orm1.PrimaryTable = ""; orm1.SelectSqlTemplate = ""; orm1.UpdateSqlTemplate = ""; this.dataGridViewEx1.DBORM = orm1; this.dataGridViewEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridViewEx1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; this.dataGridViewEx1.ErrorRowList = ((System.Collections.Generic.List <int>)(resources.GetObject("dataGridViewEx1.ErrorRowList"))); this.dataGridViewEx1.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridViewEx1.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Custom1; this.dataGridViewEx1.GridStyles.StyleDataCells = ComponentFactory.Krypton.Toolkit.GridStyle.Custom1; this.dataGridViewEx1.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Custom1; this.dataGridViewEx1.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.dataGridViewEx1.IsCheckBoxBecomeRadio = false; this.dataGridViewEx1.IsMergeColumn = false; this.dataGridViewEx1.IsUseORM = false; this.dataGridViewEx1.Location = new System.Drawing.Point(0, 30); this.dataGridViewEx1.Name = "dataGridViewEx1"; this.dataGridViewEx1.NeedReceIveValue = false; this.dataGridViewEx1.OperationMode = "None"; this.dataGridViewEx1.PkCellIndex = 0; this.dataGridViewEx1.ReceiveValueColumnIndex = -1; this.dataGridViewEx1.RelationDataGridView = null; this.dataGridViewEx1.RelationDataGridViewColumnIndexList = ((System.Collections.Generic.List <int>)(resources.GetObject("dataGridViewEx1.RelationDataGridViewColumnIndexList"))); this.dataGridViewEx1.RelationDataGridViewQuerySql = ""; this.dataGridViewEx1.RowTemplate.Height = 23; this.dataGridViewEx1.Size = new System.Drawing.Size(767, 381); this.dataGridViewEx1.TabIndex = 3; // // statusStripBarEx1 // this.statusStripBarEx1.Dock = System.Windows.Forms.DockStyle.Bottom; this.statusStripBarEx1.IsBusy = false; this.statusStripBarEx1.Location = new System.Drawing.Point(0, 411); this.statusStripBarEx1.Name = "statusStripBarEx1"; this.statusStripBarEx1.Size = new System.Drawing.Size(767, 22); this.statusStripBarEx1.TabIndex = 1; // // navigatorEx1 // this.navigatorEx1.CancelAddRowEvent = false; this.navigatorEx1.Context = windowsFormsSynchronizationContext1; this.navigatorEx1.DataGridView = this.dataGridViewEx1; this.navigatorEx1.DelsqlList = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.DelsqlList"))); this.navigatorEx1.Dock = System.Windows.Forms.DockStyle.Top; this.navigatorEx1.InsertSqlList = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.InsertSqlList"))); this.navigatorEx1.IsUserControlStatusMsg = false; this.navigatorEx1.LastAddRowIndex = -1; this.navigatorEx1.Location = new System.Drawing.Point(0, 0); this.navigatorEx1.Name = "navigatorEx1"; this.navigatorEx1.QueryRowsCountSql = ""; this.navigatorEx1.QuerySql = ""; this.navigatorEx1.ShowAddBtn = false; this.navigatorEx1.ShowChooseAllBtn = false; this.navigatorEx1.ShowClearBtn = false; this.navigatorEx1.ShowDelBtn = false; this.navigatorEx1.ShowDetailBtn = false; this.navigatorEx1.ShowQueryBtn = true; this.navigatorEx1.ShowSaveBtn = false; this.navigatorEx1.Size = new System.Drawing.Size(767, 30); this.navigatorEx1.SqlExecuteResult = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.SqlExecuteResult"))); this.navigatorEx1.StatusStrip = this.statusStripBarEx1; this.navigatorEx1.TabIndex = 0; this.navigatorEx1.TbAbbreviated = ""; this.navigatorEx1.UpdateSqlList = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.UpdateSqlList"))); this.navigatorEx1.OnQuery += new Mes.Core.ApplicationObject.SystemNavigatorClickedEventHandler(this.navigatorEx1_OnQuery); // // ColBarcode // this.ColBarcode.HeaderText = "小条码编码"; this.ColBarcode.Name = "ColBarcode"; // // ColSglCode // this.ColSglCode.HeaderText = "大条码编码"; this.ColSglCode.Name = "ColSglCode"; // // ColCreationDate // this.ColCreationDate.HeaderText = "生产日期"; this.ColCreationDate.Name = "ColCreationDate"; // // ColSrmCode // this.ColSrmCode.HeaderText = "一次性小条码"; this.ColSrmCode.Name = "ColSrmCode"; // // ColPacketQuantiy // this.ColPacketQuantiy.HeaderText = "单包数量"; this.ColPacketQuantiy.Name = "ColPacketQuantiy"; // // ColPacket // this.ColPacket.HeaderText = "包装"; this.ColPacket.Name = "ColPacket"; // // ColItemCode // this.ColItemCode.HeaderText = "物料编码"; this.ColItemCode.Name = "ColItemCode"; // // ColDescription // this.ColDescription.HeaderText = "物料描述"; this.ColDescription.Name = "ColDescription"; // // ColPalntCode // this.ColPalntCode.HeaderText = "仓库编码"; this.ColPalntCode.Name = "ColPalntCode"; // // ColPlantDescription // this.ColPlantDescription.HeaderText = "仓库描述"; this.ColPlantDescription.Name = "ColPlantDescription"; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(767, 433); this.Controls.Add(this.panelEx1); this.Name = "MainForm"; this.Text = "MainForm"; ((System.ComponentModel.ISupportInitialize)(this.panelEx1)).EndInit(); this.panelEx1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewEx1)).EndInit(); this.ResumeLayout(false); this.TabText = "小条码测试"; this.Text = "小条码测试"; }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); Mes.ControlsEx.Class.ORM orm2 = new Mes.ControlsEx.Class.ORM(); System.Windows.Forms.WindowsFormsSynchronizationContext windowsFormsSynchronizationContext2 = new System.Windows.Forms.WindowsFormsSynchronizationContext(); this.buttonEx1 = new Mes.ControlsEx.ButtonEx(this.components); this.EMPLOYEE_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.NAME = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewEx1 = new Mes.ControlsEx.DataGridViewEx(this.components); this.navigatorEx1 = new Mes.ControlsEx.NavigatorEx(); this.comboBoxEx1 = new Mes.ControlsEx.ComboBoxEx(this.components); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewEx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEx1)).BeginInit(); this.SuspendLayout(); // // buttonEx1 // this.buttonEx1.Location = new System.Drawing.Point(66, 262); this.buttonEx1.Name = "buttonEx1"; this.buttonEx1.Size = new System.Drawing.Size(90, 25); this.buttonEx1.TabIndex = 0; this.buttonEx1.Values.Text = "查询"; this.buttonEx1.Click += new System.EventHandler(this.buttonEx1_Click); // // EMPLOYEE_ID // this.EMPLOYEE_ID.HeaderText = "员工编号"; this.EMPLOYEE_ID.Name = "EMPLOYEE_ID"; // // NAME // this.NAME.HeaderText = "员工姓名"; this.NAME.Name = "NAME"; // // dataGridViewEx1 // this.dataGridViewEx1.AddedRows = ((System.Collections.Generic.List <string>)(resources.GetObject("dataGridViewEx1.AddedRows"))); this.dataGridViewEx1.AllowUserToAddRows = false; this.dataGridViewEx1.AllowUserToOrderColumns = true; this.dataGridViewEx1.AutoQuerySql = null; this.dataGridViewEx1.ChangedRows = ((System.Collections.Generic.List <string>)(resources.GetObject("dataGridViewEx1.ChangedRows"))); this.dataGridViewEx1.CheckBoxCellIndex = -1; this.dataGridViewEx1.CheckBoxCheckedRow = null; this.dataGridViewEx1.ColumnHeadersHeight = 30; orm2.ColumnCommPropertyList = ""; orm2.DelSqlTemplate = ""; orm2.InsertSqlTemplate = ""; orm2.PrimaryTable = ""; orm2.SelectSqlTemplate = ""; orm2.UpdateSqlTemplate = ""; this.dataGridViewEx1.DBORM = orm2; this.dataGridViewEx1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; this.dataGridViewEx1.ErrorRowList = ((System.Collections.Generic.List <int>)(resources.GetObject("dataGridViewEx1.ErrorRowList"))); this.dataGridViewEx1.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Mixed; this.dataGridViewEx1.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Custom1; this.dataGridViewEx1.GridStyles.StyleDataCells = ComponentFactory.Krypton.Toolkit.GridStyle.Custom1; this.dataGridViewEx1.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Custom1; this.dataGridViewEx1.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.dataGridViewEx1.IsCheckBoxBecomeRadio = false; this.dataGridViewEx1.IsMergeColumn = false; this.dataGridViewEx1.IsUseORM = false; this.dataGridViewEx1.Location = new System.Drawing.Point(-1, 32); this.dataGridViewEx1.Name = "dataGridViewEx1"; this.dataGridViewEx1.NeedReceIveValue = false; this.dataGridViewEx1.OperationMode = ""; this.dataGridViewEx1.PkCellIndex = 0; this.dataGridViewEx1.ReceiveValueColumnIndex = -1; this.dataGridViewEx1.RelationDataGridView = null; this.dataGridViewEx1.RelationDataGridViewColumnIndexList = ((System.Collections.Generic.List <int>)(resources.GetObject("dataGridViewEx1.RelationDataGridViewColumnIndexList"))); this.dataGridViewEx1.RelationDataGridViewQuerySql = ""; this.dataGridViewEx1.RowTemplate.Height = 23; this.dataGridViewEx1.Size = new System.Drawing.Size(462, 210); this.dataGridViewEx1.TabIndex = 1; // // navigatorEx1 // this.navigatorEx1.CancelAddRowEvent = false; this.navigatorEx1.Context = windowsFormsSynchronizationContext2; this.navigatorEx1.DelsqlList = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.DelsqlList"))); this.navigatorEx1.Dock = System.Windows.Forms.DockStyle.Top; this.navigatorEx1.InsertSqlList = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.InsertSqlList"))); this.navigatorEx1.IsUserControlStatusMsg = false; this.navigatorEx1.LastAddRowIndex = -1; this.navigatorEx1.Location = new System.Drawing.Point(0, 0); this.navigatorEx1.Name = "navigatorEx1"; this.navigatorEx1.QueryRowsCountSql = ""; this.navigatorEx1.QuerySql = ""; this.navigatorEx1.ShowAddBtn = true; this.navigatorEx1.ShowChooseAllBtn = false; this.navigatorEx1.ShowClearBtn = false; this.navigatorEx1.ShowDelBtn = false; this.navigatorEx1.ShowDetailBtn = false; this.navigatorEx1.ShowQueryBtn = true; this.navigatorEx1.ShowSaveBtn = true; this.navigatorEx1.Size = new System.Drawing.Size(462, 30); this.navigatorEx1.SqlExecuteResult = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.SqlExecuteResult"))); this.navigatorEx1.TabIndex = 2; this.navigatorEx1.TbAbbreviated = ""; this.navigatorEx1.UpdateSqlList = ((System.Collections.Generic.List <string>)(resources.GetObject("navigatorEx1.UpdateSqlList"))); // // comboBoxEx1 // this.comboBoxEx1.AlwaysActive = false; this.comboBoxEx1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxEx1.DropDownWidth = 121; this.comboBoxEx1.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.comboBoxEx1.InitFastCodeOrSql = ""; this.comboBoxEx1.InitType = Mes.Core.ApplicationObject.ComboBoxInitType.NONE; this.comboBoxEx1.Location = new System.Drawing.Point(184, 266); this.comboBoxEx1.MustBeInput = false; this.comboBoxEx1.MustBeInputErrorMsg = ""; this.comboBoxEx1.Name = "comboBoxEx1"; this.comboBoxEx1.OperationStatus = Mes.Core.ApplicationObject.OperationStatus.NONE; this.comboBoxEx1.RangeEndValue = ""; this.comboBoxEx1.RangeStartValue = ""; this.comboBoxEx1.RegString = ""; this.comboBoxEx1.RelatedLable = null; this.comboBoxEx1.Size = new System.Drawing.Size(121, 21); this.comboBoxEx1.StateActive.ComboBox.Border.Color1 = System.Drawing.Color.Red; this.comboBoxEx1.StateActive.ComboBox.Border.DrawBorders = ((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders)((((ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Top | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Bottom) | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Left) | ComponentFactory.Krypton.Toolkit.PaletteDrawBorders.Right))); this.comboBoxEx1.StateCommon.ComboBox.Back.Color1 = System.Drawing.Color.White; this.comboBoxEx1.StateCommon.ComboBox.Content.Color1 = System.Drawing.Color.Black; this.comboBoxEx1.TabIndex = 3; this.comboBoxEx1.ValidationErrorMsg = ""; this.comboBoxEx1.ValidationType = Mes.Core.ApplicationObject.DataGridViewColumnValidationType.NONE; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(462, 366); this.Controls.Add(this.comboBoxEx1); this.Controls.Add(this.navigatorEx1); this.Controls.Add(this.dataGridViewEx1); this.Controls.Add(this.buttonEx1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewEx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEx1)).EndInit(); this.ResumeLayout(false); }