private void Initialize() { this.InitializeComponent(); this.textBoxWaitKey = this.xmlComponentLoader1.GetControlByName <ToolStripTextBox>("textBoxWaitKey"); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.btnQuery.Visible = false; this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.treeViewBM1 = this.xmlComponentLoader1.GetControlByName <TreeViewBM>("treeViewBM1"); this.splitContainer1 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer1"); this.textBoxWaitKey.TextChanged += new EventHandler(this.textBoxWaitKey_TextChanged); this.btnQuery.Click += new EventHandler(this.btnQuery_Click); this.aisinoDataGrid1.GoToPageEvent += new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent); this.aisinoDataGrid1.DataGridRowDbClickEvent += new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowDbClickEvent); this.aisinoDataGrid1.DataGridRowKeyDown += new KeyEventHandler(this.aisinoDataGrid1_DataGridRowKeyDown); this.aisinoDataGrid1.ShowAllChkVisible = false; this.treeViewBM1.onTreeNodeClick += new TreeViewBM.OnTreeNodeClick(this.treeViewBM1_onTreeNodeClick); this.textBoxWaitKey.ToolTipText = "输入关键字(车辆编码,名称,厂牌型号,产地,生产厂家名称)"; this.toolSearchLbl = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolSearchLbl"); this.toolSearchLbl.Alignment = ToolStripItemAlignment.Right; this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); ControlStyleUtil.SetToolStripStyle(this.toolStrip1); this.textBoxWaitKey.Paint += new PaintEventHandler(this.textBoxWaitKey_Paint); this.textBoxWaitKey.Alignment = ToolStripItemAlignment.Right; this.splitContainer1 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer1"); this.splitContainer1.Panel2.Controls.Add(this.toolStrip1); }
private void Initialize() { this.InitializeComponent(); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.checkBox1 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox1"); this.checkBox2 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox2"); this.comboBoxDJZL = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxDJZL"); this.fileControl1 = this.xmlComponentLoader1.GetControlByName <FileControl>("fileControl1"); this.btnQuit = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuit"); this.btnQuit.Click += new EventHandler(this.btnQuit_Click); this.btnOK = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnOK"); this.dateTimePicker2 = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dateTimePicker2"); this.dateTimePicker1 = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dateTimePicker1"); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.aisinoDataGrid1.add_DataGridCellFormatting(new EventHandler <DataGridViewCellFormattingEventArgs>(this.aisinoDataGrid1_DataGridCellFormatting)); this.comboBoxDJZL.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxDJZL.SelectionChangeCommitted += new EventHandler(this.dateTimePicker1_CloseUp); this.btnOK.Click += new EventHandler(this.btnOK_Click); this.dateTimePicker2.CloseUp += new EventHandler(this.dateTimePicker1_CloseUp); this.dateTimePicker1.CloseUp += new EventHandler(this.dateTimePicker1_CloseUp); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripButtonExit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonExit"); this.toolStripButtonExit.Click += new EventHandler(this.toolStripButtonExit_Click); this.toolStripButtonPrint = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonPrint"); this.toolStripButtonPrint.Click += new EventHandler(this.toolStripButtonPrint_Click); this.toolStripButtonStyle = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonStyle"); this.toolStripButtonStyle.Click += new EventHandler(this.toolStripButtonStyle_Click); this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; }
private void Initialize() { this.InitializeComponent(); this.toolStripButton1 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton1"); this.toolStripButton2 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton2"); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.aisinoDataGrid2 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid2"); this.aisinoDataGrid3 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid3"); this.aisinoDataGrid4 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid4"); this.statusStrip1 = this.xmlComponentLoader1.GetControlByName <StatusStrip>("statusStrip1"); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.textBoxKey = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxKey"); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripButton1.Click += new EventHandler(this.toolBtnHY_Click); this.toolStripButton2.Click += new EventHandler(this.toolBtnQuit_Click); this.aisinoDataGrid1.add_DataGridRowClickEvent(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowClickEvent)); this.aisinoDataGrid3.add_DataGridRowClickEvent(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid3_DataGridRowClickEvent)); this.btnQuery.Click += new EventHandler(this.btnQuery_Click); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.aisinoDataGrid2.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid2_GoToPageEvent)); this.aisinoDataGrid3.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid3_GoToPageEvent)); this.aisinoDataGrid4.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid4_GoToPageEvent)); this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; this.aisinoDataGrid2.set_ReadOnly(true); this.aisinoDataGrid2.get_DataGrid().AllowUserToDeleteRows = false; this.aisinoDataGrid3.set_ReadOnly(true); this.aisinoDataGrid3.get_DataGrid().AllowUserToDeleteRows = false; this.aisinoDataGrid4.set_ReadOnly(true); this.aisinoDataGrid4.get_DataGrid().AllowUserToDeleteRows = false; }
private void Initialize() { this.InitializeComponent(); this.btnModify = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolModify"); this.btnAdd = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolAdd"); this.btnDel = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolDel"); this.btnExport = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolExport"); this.btnImport = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolImport"); this.splitContainer1 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer1"); this.btnExit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolExit"); this.textBoxWaitKey = this.xmlComponentLoader1.GetControlByName <ToolStripTextBox>("textBoxWaitKey"); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.aisinoDataGrid1.GoToPageEvent += new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent); this.aisinoDataGrid1.DataGridRowDbClickEvent += new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowDbClickEvent); this.btnAdd.Click += new EventHandler(this.btnAdd_Click); this.btnModify.Click += new EventHandler(this.btnModify_Click); this.btnDel.Click += new EventHandler(this.btnDel_Click); this.textBoxWaitKey.TextChanged += new EventHandler(this.textBoxWaitKey_TextChanged); this.btnExport.Click += new EventHandler(this.btnExport_Click); this.btnImport.Click += new EventHandler(this.btnImport_Click); this.textBoxWaitKey.ToolTipText = "输入关键字(编码,名称)"; this.toolSearchLbl = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolSearchLbl"); this.toolSearchLbl.Alignment = ToolStripItemAlignment.Right; this.btnExit.Click += new EventHandler(this.btnExit_Click); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); ControlStyleUtil.SetToolStripStyle(this.toolStrip1); this.textBoxWaitKey.Paint += new PaintEventHandler(this.textBoxWaitKey_Paint); this.textBoxWaitKey.Alignment = ToolStripItemAlignment.Right; this.btnImport.Enabled = false; this.btnExport.Enabled = false; this.splitContainer1.Panel1Collapsed = true; this.aisinoDataGrid1.ShowAllChkVisible = false; }
private void FPZJDaoChu_FormClosing(object sender, EventArgs e) { this._AisinoGrid = null; this.xxfpChaXunBll = null; this.progressBar = null; this.dict = null; base.Dispose(); }
private void Initialize() { this.InitializeComponent(); this.date_ksrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("date_ksrq"); this.date_jsrq = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("date_jsrq"); this.txt_gfmc = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_gfmc"); this.txt_gfsh = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_gfsh"); this.txt_fpdm = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_fpdm"); this.txt_fphm_start = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_fphm_start"); this.txt_fphm_end = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_fphm_end"); this.txt_bz = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txt_bz"); this.com_fpzl = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_fpzl"); this.com_zfbz = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_zfbz"); this.com_zffp = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("com_zffp"); this.but_FPChaxun = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_FPChaxun"); this.but_DaochuShuju = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("but_DaochuShuju"); this.group_box = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.but_FPChaxun.Click += new EventHandler(this.but_FPChaxun_Click); this.but_DaochuShuju.Click += new EventHandler(this.but_DaochuShuju_Click); this.check_tongbutxt = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("check_tongbutxt"); this.ConTextMenu_Daochu = new ContextMenuStrip(); this.MenuItem_DaoChuAll = new ToolStripMenuItem("导出全部"); this.MenuItem_DaoChuSelect = new ToolStripMenuItem("导出选择"); this.ConTextMenu_Daochu.Items.Add(this.MenuItem_DaoChuAll); this.ConTextMenu_Daochu.Items.Add(this.MenuItem_DaoChuSelect); this.MenuItem_DaoChuAll.Click += new EventHandler(this.MenuItem_DaoChuAll_Click); this.MenuItem_DaoChuSelect.Click += new EventHandler(this.MenuItem_DaoChuSelect_Click); this.date_ksrq.TextChanged += new EventHandler(this.data_ksrq_TextChanged); this.date_jsrq.TextChanged += new EventHandler(this.data_jsrq_TextChanged); this.txt_gfmc.MaxLength = 100; this.txt_gfsh.MaxLength = 20; this.txt_fphm_start.MaxLength = 8; this.txt_fphm_end.MaxLength = 8; this.txt_fpdm.MaxLength = 20; this.txt_bz.MaxLength = 230; this.txt_gfmc.KeyPress += new KeyPressEventHandler(this.textBox_GFMC_KeyPress); this.txt_gfmc.TextChanged += new EventHandler(this.txt_gfmc_TextChanged); this.txt_gfsh.KeyPress += new KeyPressEventHandler(this.textBox_GFSH_KeyPress); this.txt_fpdm.KeyPress += new KeyPressEventHandler(this.txt_fpdm_KeyPress); this.txt_fphm_start.KeyPress += new KeyPressEventHandler(this.txt_fpdm_KeyPress); this.txt_fphm_end.KeyPress += new KeyPressEventHandler(this.txt_fpdm_KeyPress); aisinoGrid = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoGrid"); aisinoGrid.ReadOnly = true; aisinoGrid.DataGrid.AllowUserToDeleteRows = false; aisinoGrid.GoToPageEvent += aisinoGrid_GoToPageEvent; aisinoGrid.AutoSize = false; aisinoGrid.Height = 0x17f; aisinoGrid.Dock = DockStyle.Bottom; this.Text = "增值税发票加密数据导出(机动车专用)"; this.but_FPChaxun.TabIndex = 0; this.but_FPChaxun.Focus(); base.FormClosing += new FormClosingEventHandler(this.FPZJDaoChu_FormClosing); }
private void Initialize() { this.InitializeComponent(); this.buttonName = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonName"); this.buttonName.Click += new EventHandler(this.buttonName_Click); this.textBoxFPHM = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxFPHM"); this.textBoxFPDM = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxFPDM"); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.comboBoxZFBZ = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxZFBZ"); this.comboBoxFPZL = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxFPZL"); this.label10 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label10"); this.label9 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label9"); this.label8 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label8"); this.label7 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label7"); this.ckbContainTadayE = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("ckbContainTadayE"); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.ckbAllDate = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("ckbAllDate"); this.ckbContainTadayS = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("ckbContainTadayS"); this.groupBox1 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.textBoxDJH = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxDJH"); this.label5 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label5"); this.textBoxGFSH = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxGFSH"); this.textBoxGFMC = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxGFMC"); this.dTPEnd = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dTPEnd"); this.dTPStart = this.xmlComponentLoader1.GetControlByName <DateTimePicker>("dTPStart"); this.label4 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label4"); this.label3 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.label1 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label1"); this.statusStrip1 = this.xmlComponentLoader1.GetControlByName <StatusStrip>("statusStrip1"); this.btnQuery.Click += new EventHandler(this.btnQuery_Click); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.aisinoDataGrid1.add_DataGridRowDbClickEvent(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowDbClickEvent)); this.ckbAllDate.CheckedChanged += new EventHandler(this.ckbAllDate_CheckedChanged); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripButtonExit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonExit"); this.toolStripButtonExit.Click += new EventHandler(this.toolStripButtonExit_Click); this.toolStripButtonPrint = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonPrint"); this.toolStripButtonPrint.Click += new EventHandler(this.toolStripButtonPrint_Click); this.toolStripButtonStyle = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonStyle"); this.toolStripButtonStyle.Click += new EventHandler(this.toolStripButtonStyle_Click); this.toolStripButtonExcel = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonExcel"); this.toolStripButtonExcel.Click += new EventHandler(this.toolStripButtonExcel_Click); this.toolStripButtonXML = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonXML"); this.toolStripButtonXML.Click += new EventHandler(this.toolStripButtonXML_Click); this.toolStripButtonMX = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButtonMX"); this.toolStripButtonMX.Click += new EventHandler(this.toolStripButtonMX_Click); this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; }
private void Initialize() { this.InitializeComponent(); this.toolStrip = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.tool_xuanze = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_xuanze"); this.tool_xiazai = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_xiazai"); ControlStyleUtil.SetToolStripStyle(this.toolStrip); this.aisinoGrid = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoGrid"); this.aisinoGrid.MultiSelect = (false); this.aisinoGrid.DataGrid.AllowUserToDeleteRows = false; this.tool_xuanze.Click += new EventHandler(this.tool_xuanze_Click); this.tool_xiazai.Click += new EventHandler(this.tool_xiazai_Click); this.contextMenuStrip = new ContextMenuStrip(); this.aisinoGrid.GoToPageEvent += (new EventHandler <GoToPageEventArgs>(this.aisinoGrid_GoToPageEvent)); this.aisinoGrid.DataGridRowDbClickEvent += (new EventHandler <DataGridRowEventArgs>(this.aisinoGrid_DataGridRowDbClickEvent)); }
private void Initialize() { this.InitializeComponent(); this.textBoxWaitKey = this.xmlComponentLoader1.GetControlByName <TextBoxWait>("textBoxWaitKey"); this.textBoxWaitKey.WaterMarkString = "输入关键字(编码,名称)"; this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.btnQuery.Visible = false; this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.splitContainer1 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer1"); this.textBoxWaitKey.FontWater = new Font("微软雅黑", 8f, FontStyle.Italic); this.textBoxWaitKey.TextChangedWaitGetText += new GetTextEventHandler(this.textBoxWaitKey_TextChangedWaitGetText); this.btnQuery.Click += new EventHandler(this.btnQuery_Click); this.aisinoDataGrid1.GoToPageEvent += new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent); this.aisinoDataGrid1.DataGridRowDbClickEvent += new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowDbClickEvent); this.aisinoDataGrid1.DataGridRowKeyDown += new KeyEventHandler(this.aisinoDataGrid1_DataGridRowKeyDown); this.aisinoDataGrid1.ShowAllChkVisible = false; }
private void Initialize() { this.InitializeComponent(); this.dataGridMX2 = this.xmlComponentLoader1.GetControlByName <DataGridMX>("dataGridMX2"); this.dataGridMXCFH = this.xmlComponentLoader1.GetControlByName <DataGridMX>("dataGridMXCFH"); this.dataGridMX1 = this.xmlComponentLoader1.GetControlByName <DataGridMX>("dataGridMX1"); this.aisinoDataGrid2 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid2"); this.toolStripButton1 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton1"); this.toolStripButton2 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton2"); this.dataGridMX2.CellFormatting += new DataGridViewCellFormattingEventHandler(this.dataGridMX2_CellFormatting); this.dataGridMX2.SelectionChanged += new EventHandler(this.dataGridMX2_SelectionChanged); this.dataGridMXCFH.CellFormatting += new DataGridViewCellFormattingEventHandler(this.dataGridMXCFH_CellFormatting); this.toolStripButton1.Click += new EventHandler(this.toolStripButton1_Click); this.toolStripButton2.Click += new EventHandler(this.toolStripButton2_Click); this.aisinoDataGrid2.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid2_GoToPageEvent)); this.aisinoDataGrid2.set_ReadOnly(true); this.aisinoDataGrid2.get_DataGrid().AllowUserToDeleteRows = false; this.dataGridMX2.AllowUserToDeleteRows = false; }
protected virtual void toolPrint_Click(object sender, EventArgs e) { try { AisinoDataGrid grid = this.aisinoDataGrid1; if ((grid == null) || (grid.Rows.Count <= 0)) { MessageManager.ShowMsgBox("没有可打印的列表内容"); } else { grid.Print(this.treeViewBM1.RootNodeString, this, null, null, true); } } catch (Exception exception) { this.log.Error(exception.Message); MessageManager.ShowMsgBox(exception.Message); } }
private void Initialize() { this.InitializeComponent(); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.btnZF = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnZF"); this.btnSelectAll = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnSelectAll"); this.btnClear = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnClear"); this.statusStrip1 = this.xmlComponentLoader1.GetControlByName <StatusStrip>("statusStrip1"); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripExit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripExit"); this.toolStripWaste = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripWaste"); this.toolStripAll = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripAll"); this.toolStripClean = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripClean"); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.toolStripExit.Click += new EventHandler(this.toolStripExit_Click); this.toolStripWaste.Click += new EventHandler(this.toolStripWaste_Click); this.toolStripAll.Click += new EventHandler(this.toolStripAll_Click); this.toolStripClean.Click += new EventHandler(this.toolStripClean_Click); this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; }
private void Initialize() { this.InitializeComponent(); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.comboBoxYF = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxYF"); this.comboBoxDJZL = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxDJZL"); this.label3 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label3"); this.toolStripButton1 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton1"); this.toolStripBtnSave = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnSave"); this.toolStripBtnHZYL = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnHZYL"); this.splitContainer1 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer1"); this.splitContainer2 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer2"); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.aisinoDataGrid2 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid2"); this.label2 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label2"); this.aisinoDataGrid3 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid3"); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.txtKHSH = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtKHSH"); this.rdKHSH = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rdKHSH"); this.txtKHMC = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtKHMC"); this.rdKHMC = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rdKHMC"); this.txtDJBH = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtDJBH"); this.rdDJBH = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("rdDJBH"); this.toolStripBtnHZYL.Visible = false; this.btnQuery.Click += new EventHandler(this.btnQuery_Click); this.toolStripBtnSave.Click += new EventHandler(this.toolStripBtnSave_Click); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.aisinoDataGrid2.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid2_GoToPageEvent)); this.aisinoDataGrid3.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid3_GoToPageEvent)); this.toolStripButton1.Click += new EventHandler(this.toolStripButton1_Click); this.aisinoDataGrid1.add_DataGridRowClickEvent(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowClickEvent)); this.comboBoxDJZL.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxYF.DropDownStyle = ComboBoxStyle.DropDownList; this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; this.aisinoDataGrid2.set_ReadOnly(true); this.aisinoDataGrid2.get_DataGrid().AllowUserToDeleteRows = false; this.aisinoDataGrid3.set_ReadOnly(true); this.aisinoDataGrid3.get_DataGrid().AllowUserToDeleteRows = false; }
private void Initialize() { this.InitializeComponent(); this.textBoxWaitKey = this.xmlComponentLoader1.GetControlByName <ToolStripTextBox>("textBoxWaitKey"); this.btnQuery = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnQuery"); this.btnQuery.Visible = false; this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.textBoxWaitKey.TextChanged += new EventHandler(this.textBoxWaitKey_TextChanged); this.btnQuery.Click += new EventHandler(this.btnQuery_Click); this.aisinoDataGrid1.GoToPageEvent += new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent); this.aisinoDataGrid1.DataGridRowDbClickEvent += new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowDbClickEvent); this.aisinoDataGrid1.DataGridRowKeyDown += new KeyEventHandler(this.aisinoDataGrid1_DataGridRowKeyDown); this.aisinoDataGrid1.ShowAllChkVisible = false; this.lblRowNum = this.xmlComponentLoader1.GetControlByName <ToolStripStatusLabel>("lblRowNum"); this.textBoxWaitKey.ToolTipText = "输入关键字(车辆种类代码,车辆大类名称,车辆种类名称)"; this.toolSearchLbl = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolSearchLbl"); this.toolSearchLbl.Alignment = ToolStripItemAlignment.Right; this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); ControlStyleUtil.SetToolStripStyle(this.toolStrip1); this.textBoxWaitKey.Paint += new PaintEventHandler(this.textBoxWaitKey_Paint); this.textBoxWaitKey.Alignment = ToolStripItemAlignment.Right; }
private void Initialize() { this.InitializeComponent(); this.toolBtnQuit = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolBtnQuit"); this.toolBtnSelectAll = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolBtnSelectAll"); this.toolBtnClear = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolBtnClear"); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.aisinoDataGrid2 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid2"); this.splitContainer1 = this.xmlComponentLoader1.GetControlByName <AisinoSPL>("splitContainer1"); this.groupBox1 = this.xmlComponentLoader1.GetControlByName <AisinoGRP>("groupBox1"); this.toolBtnQuit.Click += new EventHandler(this.btnQuit_Click); this.toolBtnClear.Click += new EventHandler(this.btnClear_Click); this.aisinoDataGrid1.add_DataGridRowSelectionChanged(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowSelectionChanged)); this.aisinoDataGrid1.add_DataGridCellFormatting(new EventHandler <DataGridViewCellFormattingEventArgs>(this.aisinoDataGrid1_DataGridCellFormatting)); this.toolBtnSelectAll.Click += new EventHandler(this.btnSelectAll_Click); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.aisinoDataGrid2.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid2_GoToPageEvent)); this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid2.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; this.aisinoDataGrid2.get_DataGrid().AllowUserToDeleteRows = false; }
private void Initialize() { this.InitializeComponent(); this.aisinoDataGridq = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGridq"); this.dataGridMXDJHBH = this.xmlComponentLoader1.GetControlByName <DataGridMX>("dataGridMXDJHBH"); this.aisinoDataGridh = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGridh"); this.toolStripButton1 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton1"); this.toolStripButton2 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton2"); this.dataGridMXDJHBQ = this.xmlComponentLoader1.GetControlByName <DataGridMX>("dataGridMXDJHBQ"); this.toolStripButton1.Click += new EventHandler(this.toolBtnSave_Click); this.toolStripButton2.Click += new EventHandler(this.toolBtnQuit_Click); this.dataGridMXDJHBQ.CellClick += new DataGridViewCellEventHandler(this.dataGridMXDJHBQ_CellClick); this.aisinoDataGridh.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGridh_GoToPageEvent)); this.aisinoDataGridq.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGridq_GoToPageEvent)); this.dataGridMXDJHBQ.ReadOnly = true; this.dataGridMXDJHBQ.AllowUserToDeleteRows = false; this.aisinoDataGridq.set_ReadOnly(true); this.aisinoDataGridq.get_DataGrid().AllowUserToDeleteRows = false; this.dataGridMXDJHBH.ReadOnly = true; this.dataGridMXDJHBH.AllowUserToDeleteRows = false; this.aisinoDataGridh.set_ReadOnly(true); this.aisinoDataGridh.get_DataGrid().AllowUserToDeleteRows = false; }
private void Initialize() { this.InitializeComponent(); this.toolStrip1 = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1"); this.toolStripButton1 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton1"); this.toolStripBtnZD = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnZD"); this.toolStripBtnSD = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripBtnSD"); this.toolStripButton2 = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("toolStripButton2"); this.textBoxKey = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("textBoxKey"); this.comboBoxYF = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxYF"); this.comboBoxDJZL = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxDJZL"); this.button1 = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("button1"); this.comboBoxJYGZ = this.xmlComponentLoader1.GetControlByName <AisinoCMB>("comboBoxJYGZ"); this.radioButton2 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radioButton2"); this.radioButton1 = this.xmlComponentLoader1.GetControlByName <AisinoRDO>("radioButton1"); this.checkBox1 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox1"); this.statusStrip1 = this.xmlComponentLoader1.GetControlByName <StatusStrip>("statusStrip1"); this.aisinoDataGrid1 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid1"); this.aisinoDataGrid2 = this.xmlComponentLoader1.GetControlByName <AisinoDataGrid>("aisinoDataGrid2"); this.checkBox2 = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("checkBox2"); this.comboBoxJYGZ.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxYF.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxDJZL.DropDownStyle = ComboBoxStyle.DropDownList; this.toolStripBtnSD.Click += new EventHandler(this.toolBtnSDCF_Click); this.toolStripButton2.Click += new EventHandler(this.toolBtnZDCF_Click); this.textBoxKey.TextChanged += new EventHandler(this.textBoxKey_TextChanged); this.button1.Click += new EventHandler(this.btnQuery_Click); this.aisinoDataGrid1.add_DataGridRowSelectionChanged(new EventHandler <DataGridRowEventArgs>(this.aisinoDataGrid1_DataGridRowSelectionChanged)); this.aisinoDataGrid1.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid1_GoToPageEvent)); this.aisinoDataGrid1.add_DataGridCellFormatting(new EventHandler <DataGridViewCellFormattingEventArgs>(this.aisinoDataGrid1_DataGridCellFormatting)); this.toolStripButton1.Click += new EventHandler(this.toolBtnClose_Click); this.aisinoDataGrid2.add_GoToPageEvent(new EventHandler <GoToPageEventArgs>(this.aisinoDataGrid2_GoToPageEvent)); this.aisinoDataGrid1.set_ReadOnly(true); this.aisinoDataGrid1.get_DataGrid().AllowUserToDeleteRows = false; this.aisinoDataGrid2.set_ReadOnly(true); this.aisinoDataGrid2.get_DataGrid().AllowUserToDeleteRows = false; }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(QueryPubForm)); this.startdt = new DateTimePicker(); this.enddt = new DateTimePicker(); this.aisinoDataGrid1 = new AisinoDataGrid(); this.toolStrip1 = new ToolStrip(); this.toolStripButton2 = new ToolStripButton(); this.toolStripButton1 = new ToolStripButton(); this.toolStripButton3 = new ToolStripButton(); this.toolStrip1.SuspendLayout(); base.SuspendLayout(); this.startdt.CustomFormat = ""; this.startdt.Location = new Point(0xbb, 4); this.startdt.Name = "startdt"; this.startdt.Size = new Size(0x84, 0x15); this.startdt.TabIndex = 0; this.enddt.CustomFormat = ""; this.enddt.Location = new Point(0x160, 4); this.enddt.Name = "enddt"; this.enddt.Size = new Size(0x84, 0x15); this.enddt.TabIndex = 1; this.aisinoDataGrid1.AborCellPainting = false; this.aisinoDataGrid1.AutoSize = true; this.aisinoDataGrid1.BackColor = Color.White; this.aisinoDataGrid1.CurrentCell = null; this.aisinoDataGrid1.DataSource = null; this.aisinoDataGrid1.Dock = DockStyle.Fill; this.aisinoDataGrid1.FirstDisplayedScrollingRowIndex = -1; this.aisinoDataGrid1.IsShowAll = false; this.aisinoDataGrid1.Location = new Point(0, 0x19); this.aisinoDataGrid1.Name = "aisinoDataGrid1"; this.aisinoDataGrid1.ReadOnly = false; this.aisinoDataGrid1.RightToLeft = RightToLeft.No; this.aisinoDataGrid1.ShowAllChkVisible = true; this.aisinoDataGrid1.Size = new Size(0x372, 0x210); this.aisinoDataGrid1.TabIndex = 4; this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.toolStripButton3, this.toolStripButton2, this.toolStripButton1 }); this.toolStrip1.Location = new Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Padding = new Padding(0); this.toolStrip1.Size = new Size(0x372, 0x19); this.toolStrip1.TabIndex = 5; this.toolStrip1.Text = "toolStrip1"; this.toolStripButton2.Image = Resources.chakanmingxi_03; this.toolStripButton2.Name = "toolStripButton2"; this.toolStripButton2.Size = new Size(0x31, 0x16); this.toolStripButton2.Text = "明细"; this.toolStripButton2.Click += new EventHandler(this.toolStripButton2_Click); this.toolStripButton1.Image = Resources.chazhao_03; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new Size(0x31, 0x16); this.toolStripButton1.Text = "查询"; this.toolStripButton1.Click += new EventHandler(this.toolStripButton1_Click); this.toolStripButton3.Image = Resources.bianmazuguanli_03; this.toolStripButton3.ImageTransparentColor = Color.Magenta; this.toolStripButton3.Name = "toolStripButton3"; this.toolStripButton3.Size = new Size(0x31, 0x16); this.toolStripButton3.Text = "设置"; this.toolStripButton3.Click += new EventHandler(this.toolStripButton3_Click); base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x372, 0x229); base.Controls.Add(this.startdt); base.Controls.Add(this.enddt); base.Controls.Add(this.aisinoDataGrid1); base.Controls.Add(this.toolStrip1); base.Icon = (Icon)manager.GetObject("$this.Icon"); base.Name = "QueryPubForm"; base.TabText = "公告信息查询"; this.Text = "公告信息查询"; base.Load += new EventHandler(this.QueryPubForm_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { new ComponentResourceManager(typeof(BMBase <tEdit, tFenLei, tSelect>)); this.aisinoDataGrid1 = new AisinoDataGrid(); this.splitContainer1 = new AisinoSPL(); this.treeViewBM1 = new TreeViewBM(); this.toolStrip1 = new ToolStrip(); this.toolExit = new ToolStripButton(); this.toolStripSeparator2 = new ToolStripSeparator(); this.toolExport = new ToolStripButton(); this.toolImport = new ToolStripButton(); this.toolStripSeparator3 = new ToolStripSeparator(); this.tool_GeShi = new ToolStripButton(); this.tool_TongJi = new ToolStripButton(); this.tool_ChaZhao = new ToolStripButton(); this.toolPrint = new ToolStripButton(); this.toolStripSeparator1 = new ToolStripSeparator(); this.toolDel = new ToolStripButton(); this.toolModify = new ToolStripButton(); this.toolAdd = new ToolStripButton(); this.toolSearchLbl = new ToolStripLabel(); this.textBoxWaitKey = new ToolStripTextBox(); this.panel1 = new AisinoPNL(); (this.splitContainer1 as ISupportInitialize).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.panel1.SuspendLayout(); base.SuspendLayout(); this.aisinoDataGrid1.AborCellPainting = false; this.aisinoDataGrid1.AutoSize = true; this.aisinoDataGrid1.BackColor = Color.White; this.aisinoDataGrid1.CurrentCell = null; this.aisinoDataGrid1.DataSource = null; this.aisinoDataGrid1.Dock = DockStyle.Fill; this.aisinoDataGrid1.FirstDisplayedScrollingRowIndex = -1; this.aisinoDataGrid1.IsShowAll = false; this.aisinoDataGrid1.Location = new Point(0, 0); this.aisinoDataGrid1.Name = "aisinoDataGrid1"; this.aisinoDataGrid1.ReadOnly = false; this.aisinoDataGrid1.RightToLeft = RightToLeft.No; this.aisinoDataGrid1.ShowAllChkVisible = true; this.aisinoDataGrid1.Size = new Size(0x311, 0xe5); this.aisinoDataGrid1.TabIndex = 0; this.splitContainer1.Dock = DockStyle.Fill; this.splitContainer1.Location = new Point(0, 0); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Panel1.Controls.Add(this.treeViewBM1); this.splitContainer1.Panel2.Controls.Add(this.toolStrip1); this.splitContainer1.Panel2.Controls.Add(this.aisinoDataGrid1); this.splitContainer1.Size = new Size(0x3dc, 0xe5); this.splitContainer1.SplitterDistance = 0xc7; this.splitContainer1.TabIndex = 0; this.treeViewBM1.ChildText = ""; this.treeViewBM1.Dock = DockStyle.Fill; this.treeViewBM1.Location = new Point(0, 0); this.treeViewBM1.Name = "treeViewBM1"; this.treeViewBM1.ReadOnly = false; this.treeViewBM1.SelectedNode = null; this.treeViewBM1.Size = new Size(0xc7, 0xe5); this.treeViewBM1.TabIndex = 0; this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.toolExit, this.toolStripSeparator2, this.toolExport, this.toolImport, this.toolStripSeparator3, this.tool_GeShi, this.tool_TongJi, this.tool_ChaZhao, this.toolPrint, this.toolStripSeparator1, this.toolDel, this.toolModify, this.toolAdd, this.toolSearchLbl, this.textBoxWaitKey }); this.toolStrip1.Location = new Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new Size(0x311, 0x19); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; this.toolExit.Image = Resources.退出; this.toolExit.ImageTransparentColor = Color.Magenta; this.toolExit.Name = "toolExit"; this.toolExit.Size = new Size(0x34, 0x16); this.toolExit.Text = "退出"; this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new Size(6, 0x19); this.toolExport.Image = Resources.导出; this.toolExport.ImageTransparentColor = Color.Magenta; this.toolExport.Name = "toolExport"; this.toolExport.Size = new Size(0x34, 0x16); this.toolExport.Text = "导出"; this.toolImport.Image = Resources.导入; this.toolImport.ImageTransparentColor = Color.Magenta; this.toolImport.Name = "toolImport"; this.toolImport.Size = new Size(0x34, 0x16); this.toolImport.Text = "导入"; this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new Size(6, 0x19); this.tool_GeShi.Image = Resources.格式; this.tool_GeShi.ImageTransparentColor = Color.Magenta; this.tool_GeShi.Name = "tool_GeShi"; this.tool_GeShi.Size = new Size(0x34, 0x16); this.tool_GeShi.Text = "格式"; this.tool_GeShi.Click += new EventHandler(this.tool_GeShi_Click); this.tool_TongJi.Image = Resources.统计; this.tool_TongJi.ImageTransparentColor = Color.Magenta; this.tool_TongJi.Name = "tool_TongJi"; this.tool_TongJi.Size = new Size(0x34, 0x16); this.tool_TongJi.Text = "统计"; this.tool_ChaZhao.Image = Resources.搜索; this.tool_ChaZhao.ImageTransparentColor = Color.Magenta; this.tool_ChaZhao.Name = "tool_ChaZhao"; this.tool_ChaZhao.Size = new Size(0x34, 0x16); this.tool_ChaZhao.Text = "查找"; this.tool_ChaZhao.Click += new EventHandler(this.tool_ChaZhao_Click); this.toolPrint.Image = Resources.打印; this.toolPrint.ImageTransparentColor = Color.Magenta; this.toolPrint.Name = "toolPrint"; this.toolPrint.Size = new Size(0x34, 0x16); this.toolPrint.Text = "打印"; this.toolPrint.Click += new EventHandler(this.toolPrint_Click); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(6, 0x19); this.toolDel.Image = Resources.除; this.toolDel.ImageTransparentColor = Color.Magenta; this.toolDel.Name = "toolDel"; this.toolDel.Size = new Size(0x34, 0x16); this.toolDel.Text = "删除"; this.toolModify.Image = Resources.修改; this.toolModify.ImageTransparentColor = Color.Magenta; this.toolModify.Name = "toolModify"; this.toolModify.Size = new Size(0x34, 0x16); this.toolModify.Text = "修改"; this.toolAdd.Image = Resources.增加; this.toolAdd.ImageTransparentColor = Color.Magenta; this.toolAdd.Name = "toolAdd"; this.toolAdd.Size = new Size(0x34, 0x16); this.toolAdd.Text = "增加"; this.toolSearchLbl.Alignment = ToolStripItemAlignment.Right; this.toolSearchLbl.Image = Resources.搜索; this.toolSearchLbl.Name = "toolSearchLbl"; this.toolSearchLbl.Size = new Size(0x30, 0x16); this.toolSearchLbl.Text = "检索"; this.textBoxWaitKey.Alignment = ToolStripItemAlignment.Right; this.textBoxWaitKey.Name = "textBoxWaitKey"; this.textBoxWaitKey.Size = new Size(150, 0x19); this.textBoxWaitKey.ToolTipText = "输入关键字(******)"; this.panel1.Controls.Add(this.splitContainer1); this.panel1.Dock = DockStyle.Fill; this.panel1.Location = new Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(0x3dc, 0xe5); this.panel1.TabIndex = 1; base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x3dc, 0xe5); base.Controls.Add(this.panel1); base.Name = "BMBase"; base.TabText = "**编码设置"; this.Text = "**编码设置"; base.Load += new EventHandler(this.BMBase_Load); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); (this.splitContainer1 as ISupportInitialize).EndInit(); this.splitContainer1.ResumeLayout(false); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.panel1.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(DJHB)); this.panel1 = new AisinoPNL(); this.labHBSE = new AisinoLBL(); this.labHBJE = new AisinoLBL(); this.groupBox1 = new AisinoGRP(); this.radioButtonSH = new AisinoRDO(); this.textBoxSH = new AisinoTXT(); this.radioButtonMC = new AisinoRDO(); this.textBoxMC = new AisinoTXT(); this.comboBoxYF = new AisinoCMB(); this.label4 = new AisinoLBL(); this.comboBoxDJZL = new AisinoCMB(); this.btnQuery = new AisinoBTN(); this.label3 = new AisinoLBL(); this.toolStrip1 = new ToolStrip(); this.toolStripButton1 = new ToolStripButton(); this.toolStripSeparator1 = new ToolStripSeparator(); this.toolStripBtnHB = new ToolStripButton(); this.toolStripSeparator3 = new ToolStripSeparator(); this.splitContainer1 = new AisinoSPL(); this.groupBox3 = new AisinoGRP(); this.aisinoDataGrid1 = new AisinoDataGrid(); this.groupBox4 = new AisinoGRP(); this.aisinoDataGrid2 = new AisinoDataGrid(); this.groupBox2 = new AisinoGRP(); this.label1 = new AisinoLBL(); this.checkBoxKBZ = new AisinoCHK(); this.radioButtonComplicate = new AisinoRDO(); this.radioButtonSimple = new AisinoRDO(); this.checkBoxHBBZ = new AisinoCHK(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.splitContainer1.BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox2.SuspendLayout(); base.SuspendLayout(); this.panel1.BackColor = Color.Transparent; this.panel1.Controls.Add(this.labHBSE); this.panel1.Controls.Add(this.labHBJE); this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.toolStrip1); this.panel1.Controls.Add(this.splitContainer1); this.panel1.Controls.Add(this.groupBox2); this.panel1.Dock = DockStyle.Fill; this.panel1.Location = new Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(890, 0x236); this.panel1.TabIndex = 0; this.labHBSE.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.labHBSE.AutoSize = true; this.labHBSE.Location = new Point(0x1fb, 0x221); this.labHBSE.Name = "labHBSE"; this.labHBSE.Size = new Size(0x35, 12); this.labHBSE.TabIndex = 0x1c; this.labHBSE.Text = "合计税额"; this.labHBJE.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.labHBJE.AutoSize = true; this.labHBJE.Location = new Point(0x142, 0x221); this.labHBJE.Name = "labHBJE"; this.labHBJE.Size = new Size(0x35, 12); this.labHBJE.TabIndex = 0x1b; this.labHBJE.Text = "合计金额"; this.groupBox1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.groupBox1.Controls.Add(this.radioButtonSH); this.groupBox1.Controls.Add(this.textBoxSH); this.groupBox1.Controls.Add(this.radioButtonMC); this.groupBox1.Controls.Add(this.textBoxMC); this.groupBox1.Controls.Add(this.comboBoxYF); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.comboBoxDJZL); this.groupBox1.Controls.Add(this.btnQuery); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Location = new Point(6, 0x1a); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(0x36e, 0x2b); this.groupBox1.TabIndex = 0x18; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询条件"; this.radioButtonSH.Anchor = AnchorStyles.Left; this.radioButtonSH.AutoSize = true; this.radioButtonSH.Location = new Point(0xe8, 0x12); this.radioButtonSH.Name = "radioButtonSH"; this.radioButtonSH.Size = new Size(0x47, 0x10); this.radioButtonSH.TabIndex = 11; this.radioButtonSH.TabStop = true; this.radioButtonSH.Text = "客户税号"; this.radioButtonSH.UseVisualStyleBackColor = true; this.textBoxSH.Anchor = AnchorStyles.Left; this.textBoxSH.Location = new Point(0x135, 0x10); this.textBoxSH.Name = "textBoxSH"; this.textBoxSH.Size = new Size(0x76, 0x15); this.textBoxSH.TabIndex = 10; this.radioButtonMC.Anchor = AnchorStyles.Left; this.radioButtonMC.AutoSize = true; this.radioButtonMC.Location = new Point(6, 0x12); this.radioButtonMC.Name = "radioButtonMC"; this.radioButtonMC.Size = new Size(0x47, 0x10); this.radioButtonMC.TabIndex = 9; this.radioButtonMC.TabStop = true; this.radioButtonMC.Text = "客户名称"; this.radioButtonMC.UseVisualStyleBackColor = true; this.textBoxMC.Anchor = AnchorStyles.Left; this.textBoxMC.Location = new Point(0x53, 0x10); this.textBoxMC.Name = "textBoxMC"; this.textBoxMC.Size = new Size(0x76, 0x15); this.textBoxMC.TabIndex = 4; this.comboBoxYF.Anchor = AnchorStyles.Left; this.comboBoxYF.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxYF.FormattingEnabled = true; this.comboBoxYF.Location = new Point(0x2b9, 0x10); this.comboBoxYF.Name = "comboBoxYF"; this.comboBoxYF.Size = new Size(0x33, 20); this.comboBoxYF.TabIndex = 7; this.label4.Anchor = AnchorStyles.Left; this.label4.AutoSize = true; this.label4.Location = new Point(0x299, 20); this.label4.Name = "label4"; this.label4.Size = new Size(0x1d, 12); this.label4.TabIndex = 3; this.label4.Text = "月份"; this.comboBoxDJZL.Anchor = AnchorStyles.Left; this.comboBoxDJZL.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxDJZL.FormattingEnabled = true; this.comboBoxDJZL.Location = new Point(0x202, 15); this.comboBoxDJZL.Name = "comboBoxDJZL"; this.comboBoxDJZL.Size = new Size(0x87, 20); this.comboBoxDJZL.TabIndex = 6; this.btnQuery.Anchor = AnchorStyles.Left; this.btnQuery.Location = new Point(0x2ff, 0x10); this.btnQuery.Name = "btnQuery"; this.btnQuery.Size = new Size(0x2e, 0x17); this.btnQuery.TabIndex = 8; this.btnQuery.Text = "查询"; this.btnQuery.UseVisualStyleBackColor = true; this.label3.Anchor = AnchorStyles.Left; this.label3.AutoSize = true; this.label3.Location = new Point(0x1c7, 0x13); this.label3.Name = "label3"; this.label3.Size = new Size(0x35, 12); this.label3.TabIndex = 2; this.label3.Text = "单据种类"; this.toolStrip1.AutoSize = false; this.toolStrip1.ImageScalingSize = new Size(40, 40); this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.toolStripButton1, this.toolStripSeparator1, this.toolStripBtnHB, this.toolStripSeparator3 }); this.toolStrip1.Location = new Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new Size(890, 0x19); this.toolStrip1.TabIndex = 0x17; this.toolStrip1.Text = "toolStrip1"; this.toolStripButton1.Image = Resources.退出; this.toolStripButton1.ImageScaling = ToolStripItemImageScaling.None; this.toolStripButton1.ImageTransparentColor = Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new Size(0x33, 0x16); this.toolStripButton1.Text = "退出"; this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(6, 0x19); this.toolStripBtnHB.Image = Resources.折扣; this.toolStripBtnHB.ImageScaling = ToolStripItemImageScaling.None; this.toolStripBtnHB.ImageTransparentColor = Color.Magenta; this.toolStripBtnHB.Name = "toolStripBtnHB"; this.toolStripBtnHB.Size = new Size(0x63, 0x16); this.toolStripBtnHB.Text = "单据合并预览"; this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new Size(6, 0x19); this.splitContainer1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.splitContainer1.Location = new Point(3, 0x8e); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = Orientation.Horizontal; this.splitContainer1.Panel1.Controls.Add(this.groupBox3); this.splitContainer1.Panel2.Controls.Add(this.groupBox4); this.splitContainer1.Size = new Size(0x374, 0x18c); this.splitContainer1.SplitterDistance = 260; this.splitContainer1.TabIndex = 0x1a; this.groupBox3.Controls.Add(this.aisinoDataGrid1); this.groupBox3.Dock = DockStyle.Fill; this.groupBox3.Location = new Point(0, 0); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new Size(0x374, 260); this.groupBox3.TabIndex = 1; this.groupBox3.TabStop = false; this.groupBox3.Text = "销售单据"; this.aisinoDataGrid1.set_AborCellPainting(false); this.aisinoDataGrid1.AutoSize = true; this.aisinoDataGrid1.BackColor = SystemColors.Control; this.aisinoDataGrid1.set_CurrentCell(null); this.aisinoDataGrid1.set_DataSource(null); this.aisinoDataGrid1.Dock = DockStyle.Fill; this.aisinoDataGrid1.set_FirstDisplayedScrollingRowIndex(-1); this.aisinoDataGrid1.set_IsShowAll(false); this.aisinoDataGrid1.Location = new Point(3, 0x11); this.aisinoDataGrid1.Name = "aisinoDataGrid1"; this.aisinoDataGrid1.RightToLeft = RightToLeft.No; this.aisinoDataGrid1.set_ShowAllChkVisible(true); this.aisinoDataGrid1.Size = new Size(0x36e, 240); this.aisinoDataGrid1.TabIndex = 1; this.groupBox4.Controls.Add(this.aisinoDataGrid2); this.groupBox4.Dock = DockStyle.Fill; this.groupBox4.Location = new Point(0, 0); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new Size(0x374, 0x84); this.groupBox4.TabIndex = 0; this.groupBox4.TabStop = false; this.groupBox4.Text = "销售单据明细"; this.aisinoDataGrid2.set_AborCellPainting(false); this.aisinoDataGrid2.AutoSize = true; this.aisinoDataGrid2.set_CurrentCell(null); this.aisinoDataGrid2.set_DataSource(null); this.aisinoDataGrid2.Dock = DockStyle.Fill; this.aisinoDataGrid2.set_FirstDisplayedScrollingRowIndex(-1); this.aisinoDataGrid2.set_IsShowAll(false); this.aisinoDataGrid2.Location = new Point(3, 0x11); this.aisinoDataGrid2.Name = "aisinoDataGrid2"; this.aisinoDataGrid2.RightToLeft = RightToLeft.No; this.aisinoDataGrid2.set_ShowAllChkVisible(true); this.aisinoDataGrid2.Size = new Size(0x36e, 0x70); this.aisinoDataGrid2.TabIndex = 0; this.groupBox2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.checkBoxKBZ); this.groupBox2.Controls.Add(this.radioButtonComplicate); this.groupBox2.Controls.Add(this.radioButtonSimple); this.groupBox2.Controls.Add(this.checkBoxHBBZ); this.groupBox2.Location = new Point(6, 0x47); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new Size(0x36e, 0x41); this.groupBox2.TabIndex = 0x19; this.groupBox2.TabStop = false; this.groupBox2.Text = "合并选项"; this.label1.AutoSize = true; this.label1.ForeColor = Color.Brown; this.label1.Location = new Point(0x1f5, 20); this.label1.Name = "label1"; this.label1.Size = new Size(0x83, 12); this.label1.TabIndex = 4; this.label1.Text = "合并选择不能超过800行"; this.checkBoxKBZ.AutoSize = true; this.checkBoxKBZ.Location = new Point(0x202, 0x2a); this.checkBoxKBZ.Name = "checkBoxKBZ"; this.checkBoxKBZ.Size = new Size(120, 0x10); this.checkBoxKBZ.TabIndex = 3; this.checkBoxKBZ.Text = "空备注添加单据号"; this.checkBoxKBZ.UseVisualStyleBackColor = true; this.radioButtonComplicate.AutoSize = true; this.radioButtonComplicate.Location = new Point(0x1f, 0x2a); this.radioButtonComplicate.Name = "radioButtonComplicate"; this.radioButtonComplicate.Size = new Size(0x179, 0x10); this.radioButtonComplicate.TabIndex = 2; this.radioButtonComplicate.Tag = "合并后的统计为一条折扣行"; this.radioButtonComplicate.Text = "复杂合并(商品名称、规格型号、计量单位、单价 相同合并为一行)"; this.radioButtonComplicate.UseVisualStyleBackColor = true; this.radioButtonSimple.AutoSize = true; this.radioButtonSimple.Checked = true; this.radioButtonSimple.Location = new Point(0x1f, 20); this.radioButtonSimple.Name = "radioButtonSimple"; this.radioButtonSimple.Size = new Size(0xcb, 0x10); this.radioButtonSimple.TabIndex = 1; this.radioButtonSimple.TabStop = true; this.radioButtonSimple.Text = "简单合并(合并后商品行保持不变)"; this.radioButtonSimple.UseVisualStyleBackColor = true; this.checkBoxHBBZ.AutoSize = true; this.checkBoxHBBZ.Location = new Point(0x1b4, 0x2b); this.checkBoxHBBZ.Name = "checkBoxHBBZ"; this.checkBoxHBBZ.Size = new Size(0x48, 0x10); this.checkBoxHBBZ.TabIndex = 0; this.checkBoxHBBZ.Text = "合并备注"; this.checkBoxHBBZ.UseVisualStyleBackColor = true; base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(890, 0x236); base.Controls.Add(this.panel1); base.Icon = (Icon)manager.GetObject("$this.Icon"); base.Name = "DJHB"; this.Text = "销售单据合并"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.EndInit(); this.splitContainer1.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); base.ResumeLayout(false); }