private void SetControlProperties(ButtonXP button, string buttonName, Point location, int tabIndex, EventHandler eventHandler, ComponentResourceManager resources) { button.DefaultScheme = false; button.Image = resources?.GetObject($"{buttonName}.Image") as System.Drawing.Image; button.Scheme = ButtonXP.Schemes.Silver; button.SizeImgButton = new Size(0, 0); SetControlProperties(button, buttonName, location, new Size(25, 25), tabIndex); button.Click += eventHandler; }
public TreeViewPropertyBuilderFormBase() { _treeViewMenu = new WinForms.TreeView(); _moveUpButton = new ButtonXP(); _moveDownButton = new ButtonXP(); _childSiblingButton = new ButtonXP(); _siblingParentButton = new ButtonXP(); _addChildButton = new ButtonXP(); _removeNodeButton = new ButtonXP(); }
public void SetUp() { _shimObject = ShimsContext.Create(); _buttonXP = new ButtonXP(); _buttonXP.Width = 20; _buttonXP.Height = 20; var rects0 = new Rectangle[] { new Rectangle(0, 0, 10, 10) }; var rects1 = new Rectangle[] { new Rectangle(0, 0, 10, 10) }; _privateObj = new PrivateObject(_buttonXP); _privateObj.SetField("rects0", rects0); _privateObj.SetField("rects1", rects1); var rect = new Rectangle(0, 0, 10, 10); _paintEventArgs = new PaintEventArgs(_buttonXP.CreateGraphics(), rect); }
public void Setup() { _shimObject = ShimsContext.Create(); _menuBuilderObject = new MenuPropertyBuilderForm(); _menuBuilderPrivateObject = new PrivateObject(_menuBuilderObject); _propertyGridMenu = (WinForms.PropertyGrid)_menuBuilderPrivateObject.GetField("_pgMenu"); _menuItemProperty = new MenuItemProperty(); _treeViewMenu = (WinForms.TreeView)_menuBuilderPrivateObject.GetField("_tvMenu"); _btnMoveUp = (ButtonXP)_menuBuilderPrivateObject.GetField("_bMoveUp"); _btnMoveDown = (ButtonXP)_menuBuilderPrivateObject.GetField("_bMoveDown"); _btnChildSibling = (ButtonXP)_menuBuilderPrivateObject.GetField("_bChildSibling"); _btnSiblingParent = (ButtonXP)_menuBuilderPrivateObject.GetField("_bSlibingParent"); _btnAddChild = (ButtonXP)_menuBuilderPrivateObject.GetField("_bAddChild"); _btnRemoveNode = (ButtonXP)_menuBuilderPrivateObject.GetField("_bRemoveNode"); }
public void Setup() { _shimObject = ShimsContext.Create(); _propertyBuilderObject = new PropertyBuilderForm(); _propertyBuilderPrivateObject = new PrivateObject(_propertyBuilderObject); _propertyGridTreeView = (WinForms.PropertyGrid)_propertyBuilderPrivateObject.GetField("_pgTreeView"); _nodeDesign = new NodeDesign(); _treeViewMenu = (WinForms.TreeView)_propertyBuilderPrivateObject.GetField("_tvTree"); _btnMoveUp = (ButtonXP)_propertyBuilderPrivateObject.GetField("_bMoveUp"); _btnMoveDown = (ButtonXP)_propertyBuilderPrivateObject.GetField("_bMoveDown"); _btnChildSibling = (ButtonXP)_propertyBuilderPrivateObject.GetField("_bChildSlibing"); _btnSiblingParent = (ButtonXP)_propertyBuilderPrivateObject.GetField("_bSlibingParent"); _btnAddChild = (ButtonXP)_propertyBuilderPrivateObject.GetField("_bAddChild"); _btnRemoveNode = (ButtonXP)_propertyBuilderPrivateObject.GetField("_bDelete"); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> public void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.label1 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbDBlist = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.txtUser = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.txtPass = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.chk_Simple = new System.Windows.Forms.CheckBox(); this.btn_Ok = new WiB.Pinkie.Controls.ButtonXP(); this.btn_Cancel = new WiB.Pinkie.Controls.ButtonXP(); this.btn_ConTest = new WiB.Pinkie.Controls.ButtonXP(); this.comboBoxServer = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.comboBoxServerVer = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.comboBox_Verified = new System.Windows.Forms.ComboBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.cmboxTabLoadtype = new System.Windows.Forms.ComboBox(); this.txtTabLoadKeyword = new System.Windows.Forms.TextBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(24, 101); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(95, 12); this.label1.TabIndex = 0; this.label1.Text = "服务器名称(&S):"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Location = new System.Drawing.Point(32, 286); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(373, 5); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; // // cmbDBlist // this.cmbDBlist.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbDBlist.Enabled = false; this.cmbDBlist.Location = new System.Drawing.Point(144, 219); this.cmbDBlist.Name = "cmbDBlist"; this.cmbDBlist.Size = new System.Drawing.Size(232, 20); this.cmbDBlist.TabIndex = 6; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(48, 223); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(71, 12); this.label4.TabIndex = 5; this.label4.Text = "数据库(&D):"; // // txtUser // this.txtUser.Location = new System.Drawing.Point(144, 169); this.txtUser.Name = "txtUser"; this.txtUser.Size = new System.Drawing.Size(232, 21); this.txtUser.TabIndex = 3; this.txtUser.Text = "sa"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(48, 173); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(71, 12); this.label2.TabIndex = 2; this.label2.Text = "登录名(&L):"; // // txtPass // this.txtPass.Location = new System.Drawing.Point(144, 194); this.txtPass.Name = "txtPass"; this.txtPass.PasswordChar = '*'; this.txtPass.Size = new System.Drawing.Size(232, 21); this.txtPass.TabIndex = 3; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(60, 198); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(59, 12); this.label3.TabIndex = 2; this.label3.Text = "密码(&P):"; // // chk_Simple // this.chk_Simple.AutoSize = true; this.chk_Simple.Checked = true; this.chk_Simple.CheckState = System.Windows.Forms.CheckState.Checked; this.chk_Simple.Location = new System.Drawing.Point(144, 244); this.chk_Simple.Name = "chk_Simple"; this.chk_Simple.Size = new System.Drawing.Size(96, 16); this.chk_Simple.TabIndex = 22; this.chk_Simple.Text = "高效连接模式"; this.toolTip1.SetToolTip(this.chk_Simple, "在表非常多的情况下,启用该模式提高连接速度"); this.chk_Simple.UseVisualStyleBackColor = true; // // btn_Ok // this.btn_Ok._Image = null; this.btn_Ok.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.btn_Ok.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.btn_Ok.DefaultScheme = false; this.btn_Ok.DialogResult = System.Windows.Forms.DialogResult.None; this.btn_Ok.Image = null; this.btn_Ok.Location = new System.Drawing.Point(163, 306); this.btn_Ok.Name = "btn_Ok"; this.btn_Ok.Scheme = WiB.Pinkie.Controls.ButtonXP.Schemes.Blue; this.btn_Ok.Size = new System.Drawing.Size(73, 28); this.btn_Ok.TabIndex = 19; this.btn_Ok.Text = "确定(&O):"; this.btn_Ok.Click += new System.EventHandler(this.btn_Ok_Click); // // btn_Cancel // this.btn_Cancel._Image = null; this.btn_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.btn_Cancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.btn_Cancel.DefaultScheme = false; this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btn_Cancel.Image = null; this.btn_Cancel.Location = new System.Drawing.Point(270, 306); this.btn_Cancel.Name = "btn_Cancel"; this.btn_Cancel.Scheme = WiB.Pinkie.Controls.ButtonXP.Schemes.Blue; this.btn_Cancel.Size = new System.Drawing.Size(73, 28); this.btn_Cancel.TabIndex = 20; this.btn_Cancel.Text = "取消(&C):"; this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click); // // btn_ConTest // this.btn_ConTest._Image = null; this.btn_ConTest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.btn_ConTest.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.btn_ConTest.DefaultScheme = false; this.btn_ConTest.DialogResult = System.Windows.Forms.DialogResult.None; this.btn_ConTest.Image = null; this.btn_ConTest.Location = new System.Drawing.Point(56, 306); this.btn_ConTest.Name = "btn_ConTest"; this.btn_ConTest.Scheme = WiB.Pinkie.Controls.ButtonXP.Schemes.Blue; this.btn_ConTest.Size = new System.Drawing.Size(73, 28); this.btn_ConTest.TabIndex = 19; this.btn_ConTest.Text = "连接/测试"; this.btn_ConTest.Click += new System.EventHandler(this.btn_ConTest_Click); // // comboBoxServer // this.comboBoxServer.FormattingEnabled = true; this.comboBoxServer.Location = new System.Drawing.Point(144, 97); this.comboBoxServer.Name = "comboBoxServer"; this.comboBoxServer.Size = new System.Drawing.Size(232, 20); this.comboBoxServer.TabIndex = 21; this.comboBoxServer.Text = "127.0.0.1"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(24, 125); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(95, 12); this.label5.TabIndex = 0; this.label5.Text = "服务器类型(&T):"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // comboBoxServerVer // this.comboBoxServerVer.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxServerVer.FormattingEnabled = true; this.comboBoxServerVer.Items.AddRange(new object[] { "SQL Server2012", "SQL Server2008", "SQL Server2005", "SQL Server2000" }); this.comboBoxServerVer.Location = new System.Drawing.Point(144, 121); this.comboBoxServerVer.Name = "comboBoxServerVer"; this.comboBoxServerVer.Size = new System.Drawing.Size(232, 20); this.comboBoxServerVer.TabIndex = 21; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(36, 149); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(83, 12); this.label6.TabIndex = 0; this.label6.Text = "身份验证(&A):"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // comboBox_Verified // this.comboBox_Verified.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox_Verified.FormattingEnabled = true; this.comboBox_Verified.Items.AddRange(new object[] { "SQL Server 身份认证", "Windows 身份认证" }); this.comboBox_Verified.Location = new System.Drawing.Point(144, 145); this.comboBox_Verified.Name = "comboBox_Verified"; this.comboBox_Verified.Size = new System.Drawing.Size(232, 20); this.comboBox_Verified.TabIndex = 21; this.comboBox_Verified.SelectedIndexChanged += new System.EventHandler(this.comboBox_Verified_SelectedIndexChanged); // // pictureBox1 // this.pictureBox1.Image = global::Codematic.Properties.Resources.loginsql; this.pictureBox1.Location = new System.Drawing.Point(0, 0); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(451, 81); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox1.TabIndex = 23; this.pictureBox1.TabStop = false; // // cmboxTabLoadtype // this.cmboxTabLoadtype.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmboxTabLoadtype.FormattingEnabled = true; this.cmboxTabLoadtype.Items.AddRange(new object[] { "加载全部表:", "只加载表名中含有:", "不加载表名中含有:" }); this.cmboxTabLoadtype.Location = new System.Drawing.Point(144, 261); this.cmboxTabLoadtype.Name = "cmboxTabLoadtype"; this.cmboxTabLoadtype.Size = new System.Drawing.Size(128, 20); this.cmboxTabLoadtype.TabIndex = 24; this.cmboxTabLoadtype.SelectedIndexChanged += new System.EventHandler(this.cmboxTabLoadtype_SelectedIndexChanged); // // txtTabLoadKeyword // this.txtTabLoadKeyword.Location = new System.Drawing.Point(276, 261); this.txtTabLoadKeyword.Name = "txtTabLoadKeyword"; this.txtTabLoadKeyword.Size = new System.Drawing.Size(100, 21); this.txtTabLoadKeyword.TabIndex = 25; // // LoginForm // this.AcceptButton = this.btn_Ok; this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.CancelButton = this.btn_Cancel; this.ClientSize = new System.Drawing.Size(451, 357); this.Controls.Add(this.txtTabLoadKeyword); this.Controls.Add(this.cmboxTabLoadtype); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.chk_Simple); this.Controls.Add(this.comboBox_Verified); this.Controls.Add(this.comboBoxServerVer); this.Controls.Add(this.comboBoxServer); this.Controls.Add(this.cmbDBlist); this.Controls.Add(this.btn_Cancel); this.Controls.Add(this.label4); this.Controls.Add(this.btn_Ok); this.Controls.Add(this.txtUser); this.Controls.Add(this.groupBox1); this.Controls.Add(this.label2); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label1); this.Controls.Add(this.txtPass); this.Controls.Add(this.btn_ConTest); this.Controls.Add(this.label3); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "LoginForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "连接到服务器"; this.Load += new System.EventHandler(this.LoginForm_Load); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmOPInvoiceReturn)); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbFind = new System.Windows.Forms.ComboBox(); this.lbeAuding = new System.Windows.Forms.Label(); this.buttonXP1 = new PinkieControls.ButtonXP(); this.txtInvoice = new com.digitalwave.controls.exTextBox(); this.txtCardID = new com.digitalwave.controls.exTextBox(); this.label5 = new System.Windows.Forms.Label(); this.cmdReturn = new PinkieControls.ButtonXP(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.tabInfo = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.dwInvoice = new Sybase.DataWindow.DataWindowControl(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader9 = new System.Windows.Forms.ColumnHeader(); this.m_repInvoiceInfo = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.m_lstItemsInfo = new System.Windows.Forms.ListView(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); this.columnHeader7 = new System.Windows.Forms.ColumnHeader(); this.columnHeader8 = new System.Windows.Forms.ColumnHeader(); this.columnHeader10 = new System.Windows.Forms.ColumnHeader(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.tabInfo.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.cmbFind); this.groupBox1.Controls.Add(this.lbeAuding); this.groupBox1.Controls.Add(this.buttonXP1); this.groupBox1.Controls.Add(this.txtInvoice); this.groupBox1.Controls.Add(this.txtCardID); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.cmdReturn); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.ForeColor = System.Drawing.SystemColors.Highlight; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(992, 64); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "项目信息"; // // cmbFind // this.cmbFind.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbFind.Items.AddRange(new object[] { "卡 号", "物理发票号" }); this.cmbFind.Location = new System.Drawing.Point(16, 24); this.cmbFind.Name = "cmbFind"; this.cmbFind.Size = new System.Drawing.Size(104, 22); this.cmbFind.TabIndex = 26; // // lbeAuding // this.lbeAuding.AutoSize = true; this.lbeAuding.ForeColor = System.Drawing.Color.Red; this.lbeAuding.Location = new System.Drawing.Point(520, 29); this.lbeAuding.Name = "lbeAuding"; this.lbeAuding.Size = new System.Drawing.Size(0, 14); this.lbeAuding.TabIndex = 25; // // buttonXP1 // this.buttonXP1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.buttonXP1.DefaultScheme = true; this.buttonXP1.DialogResult = System.Windows.Forms.DialogResult.None; this.buttonXP1.Hint = ""; this.buttonXP1.Location = new System.Drawing.Point(832, 20); this.buttonXP1.Name = "buttonXP1"; this.buttonXP1.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.buttonXP1.Size = new System.Drawing.Size(128, 32); this.buttonXP1.TabIndex = 15; this.buttonXP1.Text = "审 核 发 票[&D]"; this.buttonXP1.Click += new System.EventHandler(this.buttonXP1_Click); // // txtInvoice // this.txtInvoice.Location = new System.Drawing.Point(360, 24); this.txtInvoice.MaxLength = 18; this.txtInvoice.Name = "txtInvoice"; this.txtInvoice.SendTabKey = false; this.txtInvoice.SetFocusColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.txtInvoice.Size = new System.Drawing.Size(144, 23); this.txtInvoice.TabIndex = 1; this.txtInvoice.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtInvoice_KeyDown); this.txtInvoice.Enter += new System.EventHandler(this.txtInvoice_Enter); // // txtCardID // this.txtCardID.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.txtCardID.Location = new System.Drawing.Point(128, 24); this.txtCardID.MaxLength = 20; this.txtCardID.Name = "txtCardID"; this.txtCardID.SendTabKey = false; this.txtCardID.SetFocusColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.txtCardID.Size = new System.Drawing.Size(144, 23); this.txtCardID.TabIndex = 0; this.txtCardID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCardID_KeyDown); // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(280, 27); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(84, 14); this.label5.TabIndex = 14; this.label5.Text = "系统发票号:"; // // cmdReturn // this.cmdReturn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.cmdReturn.DefaultScheme = true; this.cmdReturn.DialogResult = System.Windows.Forms.DialogResult.None; this.cmdReturn.Hint = ""; this.cmdReturn.Location = new System.Drawing.Point(688, 20); this.cmdReturn.Name = "cmdReturn"; this.cmdReturn.Scheme = PinkieControls.ButtonXP.Schemes.Blue; this.cmdReturn.Size = new System.Drawing.Size(128, 32); this.cmdReturn.TabIndex = 2; this.cmdReturn.Text = "退 回 发 票[F5]"; this.cmdReturn.Click += new System.EventHandler(this.cmdReturn_Click); // // groupBox2 // this.groupBox2.Controls.Add(this.tabInfo); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.ForeColor = System.Drawing.SystemColors.Highlight; this.groupBox2.Location = new System.Drawing.Point(0, 64); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(992, 477); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "项目信息"; // // tabInfo // this.tabInfo.Controls.Add(this.tabPage1); this.tabInfo.Controls.Add(this.tabPage2); this.tabInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.tabInfo.Location = new System.Drawing.Point(3, 19); this.tabInfo.Name = "tabInfo"; this.tabInfo.SelectedIndex = 0; this.tabInfo.Size = new System.Drawing.Size(986, 455); this.tabInfo.TabIndex = 0; // // tabPage1 // this.tabPage1.Controls.Add(this.dwInvoice); this.tabPage1.Controls.Add(this.listView1); this.tabPage1.Controls.Add(this.m_repInvoiceInfo); this.tabPage1.Location = new System.Drawing.Point(4, 24); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(978, 427); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "发票信息[F2]"; // // dwInvoice // this.dwInvoice.DataWindowObject = ""; this.dwInvoice.LibraryList = ""; this.dwInvoice.Location = new System.Drawing.Point(9, 3); this.dwInvoice.Name = "dwInvoice"; this.dwInvoice.Size = new System.Drawing.Size(964, 400); this.dwInvoice.TabIndex = 20; this.dwInvoice.Text = "dataWindowControl1"; // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader9, this.columnHeader10 }); this.listView1.FullRowSelect = true; this.listView1.GridLines = true; this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.listView1.Location = new System.Drawing.Point(208, 56); this.listView1.MultiSelect = false; this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(420, 152); this.listView1.TabIndex = 18; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.Visible = false; this.listView1.DoubleClick += new System.EventHandler(this.listView1_DoubleClick); this.listView1.Leave += new System.EventHandler(this.listView1_Leave); this.listView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.listView1_KeyDown); // // columnHeader1 // this.columnHeader1.Text = "发票号"; this.columnHeader1.Width = 109; // // columnHeader9 // this.columnHeader9.Text = "系统号"; this.columnHeader9.Width = 160; // // m_repInvoiceInfo // this.m_repInvoiceInfo.ActiveViewIndex = -1; this.m_repInvoiceInfo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.m_repInvoiceInfo.DisplayGroupTree = false; this.m_repInvoiceInfo.DisplayStatusBar = false; this.m_repInvoiceInfo.DisplayToolbar = false; this.m_repInvoiceInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.m_repInvoiceInfo.Location = new System.Drawing.Point(0, 0); this.m_repInvoiceInfo.Name = "m_repInvoiceInfo"; this.m_repInvoiceInfo.SelectionFormula = ""; this.m_repInvoiceInfo.Size = new System.Drawing.Size(978, 427); this.m_repInvoiceInfo.TabIndex = 19; this.m_repInvoiceInfo.ViewTimeSelectionFormula = ""; // // tabPage2 // this.tabPage2.Controls.Add(this.m_lstItemsInfo); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(978, 429); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "处方信息[F3]"; // // m_lstItemsInfo // this.m_lstItemsInfo.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5, this.columnHeader6, this.columnHeader7, this.columnHeader8 }); this.m_lstItemsInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.m_lstItemsInfo.GridLines = true; this.m_lstItemsInfo.Location = new System.Drawing.Point(0, 0); this.m_lstItemsInfo.Name = "m_lstItemsInfo"; this.m_lstItemsInfo.Size = new System.Drawing.Size(978, 429); this.m_lstItemsInfo.TabIndex = 0; this.m_lstItemsInfo.UseCompatibleStateImageBehavior = false; this.m_lstItemsInfo.View = System.Windows.Forms.View.Details; // // columnHeader2 // this.columnHeader2.Text = "项目名称"; this.columnHeader2.Width = 165; // // columnHeader3 // this.columnHeader3.Text = "规格"; this.columnHeader3.Width = 120; // // columnHeader4 // this.columnHeader4.Text = "产地"; this.columnHeader4.Width = 80; // // columnHeader5 // this.columnHeader5.Text = "单位"; // // columnHeader6 // this.columnHeader6.Text = "零售价"; // // columnHeader7 // this.columnHeader7.Text = "数量"; // // columnHeader8 // this.columnHeader8.Text = "医生"; this.columnHeader8.Width = 70; // // columnHeader10 // this.columnHeader10.Text = "重打发票号"; this.columnHeader10.Width = 110; // // frmOPInvoiceReturn // this.AutoScaleBaseSize = new System.Drawing.Size(7, 16); this.ClientSize = new System.Drawing.Size(992, 541); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.Name = "frmOPInvoiceReturn"; this.Text = "门诊发票退回"; this.Load += new System.EventHandler(this.frmOPInvoiceReturn_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.frmOPInvoiceReturn_KeyDown); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.tabInfo.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.ResumeLayout(false); }