Example #1
0
 public InvInfoMsg()
 {
     this.Initialize();
     this.InsertGridColumn();
     this._dictFPLBBM = ShareMethods.GetFPLBBM();
     this.ValidationNTxt();
 }
 public DrxgfpFromCard()
 {
     try
     {
         this.Initialize();
         this._dictFPLBBM = ShareMethods.GetFPLBBM();
     }
     catch (BaseException exception)
     {
         this.loger.Error(exception.Message);
         ExceptionHandler.HandleError(exception);
     }
     catch (Exception exception2)
     {
         this.loger.Error(exception2.Message);
         ExceptionHandler.HandleError(exception2);
     }
 }
Example #3
0
 protected void SetXmlCtrl()
 {
     try
     {
         this.pnlManipulation            = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlManipulation");
         this.pnlAttention               = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("pnlAttention");
         this.lblAttentionHeader         = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblAttentionHeader");
         this.lblAttentionDetail         = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblAttentionDetail");
         this.pnlAttention.Visible       = false;
         this.lblAttentionHeader.Visible = false;
         this.lblAttentionDetail.Visible = false;
         this.toolStrip                          = this.xmlComponentLoader1.GetControlByName <ToolStrip>("toolStrip1");
         this.tool_Close                         = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_TuiChu");
         this.tool_XuanZe                        = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_XuanZe");
         this.tool_FPTuiHui                      = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_FPTuiHui");
         this.toolStripSeparator1                = this.xmlComponentLoader1.GetControlByName <ToolStripSeparator>("toolStripSeparator1");
         this.tool_Find                          = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Find");
         this.tool_Print                         = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_Print");
         this.tool_TongJi                        = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_TongJi");
         this.tool_GeShi                         = this.xmlComponentLoader1.GetControlByName <ToolStripButton>("tool_GeShi");
         this.toolLblRetrieve                    = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolLblRetrieve");
         this.toolLblFpzl                        = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolLblFpzl");
         this.toolLblYear                        = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolLblYear");
         this.toolLblMonth                       = this.xmlComponentLoader1.GetControlByName <ToolStripLabel>("toolLblMonth");
         this.toolTxtRetrieve                    = this.xmlComponentLoader1.GetControlByName <ToolStripTextBox>("toolTxtRetrieve");
         this.toolCmbFpzl                        = this.xmlComponentLoader1.GetControlByName <ToolStripComboBox>("toolCmbFpzl");
         this.toolCmbYear                        = this.xmlComponentLoader1.GetControlByName <ToolStripComboBox>("toolCmbYear");
         this.toolCmbMonth                       = this.xmlComponentLoader1.GetControlByName <ToolStripComboBox>("toolCmbMonth");
         this.tool_Close.Visible                 = true;
         this.tool_XuanZe.Visible                = false;
         this.tool_FPTuiHui.Visible              = false;
         this.toolStripSeparator1.Visible        = true;
         this.tool_Find.Visible                  = true;
         this.tool_Print.Visible                 = true;
         this.tool_TongJi.Visible                = true;
         this.tool_GeShi.Visible                 = true;
         this.toolLblRetrieve.Visible            = false;
         this.toolTxtRetrieve.Visible            = false;
         this.tool_Close.Click                  += new EventHandler(this.tool_Close_Click);
         this.tool_Find.Click                   += new EventHandler(this.tool_Find_Click);
         this.tool_Print.Click                  += new EventHandler(this.tool_Print_Click);
         this.tool_TongJi.Click                 += new EventHandler(this.tool_TongJi_Click);
         this.tool_GeShi.Click                  += new EventHandler(this.tool_GeShi_Click);
         this.toolCmbFpzl.SelectedIndexChanged  += new EventHandler(this.QueryIndexChanged);
         this.toolCmbYear.SelectedIndexChanged  += new EventHandler(this.QueryIndexChanged);
         this.toolCmbMonth.SelectedIndexChanged += new EventHandler(this.QueryIndexChanged);
         this.toolCmbFpzl.DropDownStyle          = ComboBoxStyle.DropDownList;
         this.toolCmbYear.DropDownStyle          = ComboBoxStyle.DropDownList;
         this.toolCmbMonth.DropDownStyle         = ComboBoxStyle.DropDownList;
         this.tool_Close.Margin                  = new Padding(20, 1, 0, 2);
         ControlStyleUtil.SetToolStripStyle(this.toolStrip);
         this.QueryComponentsLayoutSet();
         this.customStyleDataGrid1 = this.xmlComponentLoader1.GetControlByName <CustomStyleDataGrid>("customStyleDataGrid1");
         this.customStyleDataGrid1.AllowUserToDeleteRows = false;
         this.customStyleDataGrid1.AutoSizeColumnsMode   = DataGridViewAutoSizeColumnsMode.Fill;
         this.customStyleDataGrid1.ReadOnly      = true;
         this.customStyleDataGrid1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
         this.customStyleDataGrid1.MultiSelect   = false;
         this.InsertGridColumn();
         this._dictFPLBBM = ShareMethods.GetFPLBBM();
         this.pnlManipulation.Controls.Add(this.customStyleDataGrid1);
         this.pnlManipulation.Controls.Add(this.toolStrip);
         this.pnlManipulation.Controls.Add(this.pnlAttention);
     }
     catch (BaseException exception)
     {
         this._bError = true;
         this.loger.Error(exception.Message);
         ExceptionHandler.HandleError(exception);
     }
     catch (Exception exception2)
     {
         this._bError = true;
         this.loger.Error(exception2.Message);
         ExceptionHandler.HandleError(exception2);
     }
 }