Ejemplo n.º 1
0
 private void Initial()
 {
     this.InitializeComponent();
     base.MinimizeBox            = false;
     base.MaximizeBox            = false;
     base.FormBorderStyle        = FormBorderStyle.FixedDialog;
     this.buttonAdd              = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonAdd");
     this.buttonAdd.Click       += new EventHandler(this.buttonAdd_Click);
     this.buttonAddAll           = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonAddAll");
     this.buttonAddAll.Click    += new EventHandler(this.buttonAddAll_Click);
     this.buttonDelete           = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonDelete");
     this.buttonDelete.Click    += new EventHandler(this.buttonDelete_Click);
     this.buttonDeleteAll        = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonDeleteAll");
     this.buttonDeleteAll.Click += new EventHandler(this.buttonDeleteAll_Click);
     this.buttonOK                  = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonOK");
     this.buttonOK.Click           += new EventHandler(this.buttonOK_Click);
     this.buttonCancel              = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("buttonCancel");
     this.buttonCancel.Click       += new EventHandler(this.buttonCancel_Click);
     this.labelSrc                  = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("labelSrc");
     this.labelDest                 = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("labelDest");
     this.listBoxSrc                = this.xmlComponentLoader1.GetControlByName <AisinoLST>("listBoxSrc");
     this.listBoxSrc.SelectionMode  = SelectionMode.MultiExtended;
     this.listBoxSrc.DoubleClick   += new EventHandler(this.listBoxSrc_DoubleClick);
     this.listBoxDest               = this.xmlComponentLoader1.GetControlByName <AisinoLST>("listBoxDest");
     this.listBoxDest.SelectionMode = SelectionMode.MultiExtended;
     this.listBoxDest.DoubleClick  += new EventHandler(this.listBoxDest_DoubleClick);
     base.Load        += new EventHandler(this.AddCodeForm_Load);
     base.FormClosing += new FormClosingEventHandler(this.AddCodeForm_FormClosing);
 }
Ejemplo n.º 2
0
 public AddCodeForm()
 {
     this.fpcxBLL           = new FPCXbll();
     this.spcxBLL           = new SPCXbll();
     this.m_ArrayListSource = new ArrayList();
     this.m_bGoods          = false;
     this.fplx            = "";
     this.components      = null;
     this.buttonAdd       = new AisinoBTN();
     this.buttonAddAll    = new AisinoBTN();
     this.buttonDelete    = new AisinoBTN();
     this.buttonDeleteAll = new AisinoBTN();
     this.buttonOK        = new AisinoBTN();
     this.buttonCancel    = new AisinoBTN();
     this.labelSrc        = new AisinoLBL();
     this.labelDest       = new AisinoLBL();
     this.listBoxSrc      = new AisinoLST();
     this.listBoxDest     = new AisinoLST();
     this.Initial();
 }
Ejemplo n.º 3
0
        private void InitializeComponent_1()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(PropertyForm));

            this.ColProperty = new PropertyGrid();
            this.btnDown     = new AisinoBTN();
            this.btnUp       = new AisinoBTN();
            this.listBox1    = new AisinoLST();
            base.SuspendLayout();
            this.ColProperty.Dock                = DockStyle.Right;
            this.ColProperty.Location            = new Point(0xbc, 0);
            this.ColProperty.Name                = "ColProperty";
            this.ColProperty.Size                = new Size(210, 0x124);
            this.ColProperty.TabIndex            = 3;
            this.btnDown.BackColorActive         = Color.FromArgb(0x19, 0x76, 210);
            this.btnDown.ColorDefaultA           = Color.FromArgb(0, 0xac, 0xfb);
            this.btnDown.ColorDefaultB           = Color.FromArgb(0, 0x91, 0xe0);
            this.btnDown.Font                    = new Font("宋体", 9f);
            this.btnDown.FontColor               = Color.FromArgb(0xff, 0xff, 0xff);
            this.btnDown.Location                = new Point(0x9a, 0x8e);
            this.btnDown.Name                    = "btnDown";
            this.btnDown.Size                    = new Size(0x19, 0x34);
            this.btnDown.TabIndex                = 2;
            this.btnDown.Text                    = "↓";
            this.btnDown.UseVisualStyleBackColor = true;
            this.btnDown.Click                  += new EventHandler(this.btnDown_Click);
            this.btnUp.BackColorActive           = Color.FromArgb(0x19, 0x76, 210);
            this.btnUp.ColorDefaultA             = Color.FromArgb(0, 0xac, 0xfb);
            this.btnUp.ColorDefaultB             = Color.FromArgb(0, 0x91, 0xe0);
            this.btnUp.Font      = new Font("宋体", 9f);
            this.btnUp.FontColor = Color.FromArgb(0xff, 0xff, 0xff);
            this.btnUp.Location  = new Point(0x9a, 0x49);
            this.btnUp.Name      = "btnUp";
            this.btnUp.Size      = new Size(0x19, 0x34);
            this.btnUp.TabIndex  = 1;
            this.btnUp.Text      = "↑";
            this.btnUp.UseVisualStyleBackColor = true;
            this.btnUp.Click  += new EventHandler(this.btnUp_Click);
            this.listBox1.Dock = DockStyle.Left;
            this.listBox1.FormattingEnabled = true;
            this.listBox1.ItemHeight        = 12;
            this.listBox1.Location          = new Point(0, 0);
            this.listBox1.Name       = "listBox1";
            this.listBox1.Size       = new Size(0x94, 0x124);
            this.listBox1.TabIndex   = 0;
            base.AutoScaleDimensions = new SizeF(6f, 12f);
            base.AutoScaleMode       = AutoScaleMode.Font;
            base.ClientSize          = new Size(0x18e, 0x124);
            base.Controls.Add(this.listBox1);
            base.Controls.Add(this.btnUp);
            base.Controls.Add(this.btnDown);
            base.Controls.Add(this.ColProperty);
            base.FormBorderStyle = FormBorderStyle.FixedToolWindow;
            base.HelpButton      = true;
            base.Icon            = (Icon)manager.GetObject("$this.Icon");
            base.MaximizeBox     = false;
            base.MinimizeBox     = false;
            base.Name            = "PropertyForm";
            base.ShowIcon        = false;
            this.Text            = "网格样式定制";
            base.ResumeLayout(false);
        }
Ejemplo n.º 4
0
 private void Initialize()
 {
     this.InitializeComponent();
     base.MaximizeBox                        = false;
     base.MinimizeBox                        = false;
     base.FormBorderStyle                    = FormBorderStyle.FixedDialog;
     this.tcRegistInfo                       = this.xmlComponentLoader1.GetControlByName <AisinoTAB>("tcRegistInfo");
     this.tpBaseInfo                         = this.xmlComponentLoader1.GetControlByName <TabPage>("tpBaseInfo");
     this.tpRegist                           = this.xmlComponentLoader1.GetControlByName <TabPage>("tpRegist");
     this.tpLoadFiles                        = this.xmlComponentLoader1.GetControlByName <TabPage>("tpLoadFiles");
     this.tpFileCheck                        = this.xmlComponentLoader1.GetControlByName <TabPage>("tpFileCheck");
     this.numUdDays                          = this.xmlComponentLoader1.GetControlByName <AisinoNUD>("numUdDays");
     this.numUDMachineNo                     = this.xmlComponentLoader1.GetControlByName <AisinoNUD>("numUDMachineNo");
     this.numUdOutTime                       = this.xmlComponentLoader1.GetControlByName <AisinoNUD>("numUdOutTime");
     this.txtName                            = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtName");
     this.txtTaxNo                           = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtTaxNo");
     this.txtLoadUri                         = this.xmlComponentLoader1.GetControlByName <AisinoTXT>("txtLoadUri");
     this.rtxtInsVersions                    = this.xmlComponentLoader1.GetControlByName <AisinoRTX>("rtxtInsVersions");
     this.rtxtVersion                        = this.xmlComponentLoader1.GetControlByName <AisinoRTX>("rtxtVersion");
     this.btnSetupRegFile                    = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnSetupRegFile");
     this.btnLoad                            = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnLoad");
     this.btnRemove                          = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnRemove");
     this.btnAdd                             = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnAdd");
     this.btnExport                          = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnExport");
     this.chkOverdate                        = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("chkOverdate");
     this.chkBeforeDate                      = this.xmlComponentLoader1.GetControlByName <AisinoCHK>("chkBeforeDate");
     this.lblBBH                             = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblBBH");
     this.label6                             = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("label6");
     this.lblRJZL                            = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblRJZL");
     this.lblRJXLH                           = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblRJXLH");
     this.lblKPJH                            = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblKPJH");
     this.lblZCDY                            = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblZCDY");
     this.lblSQJZRQ                          = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblSQJZRQ");
     this.lblRJBH                            = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblRJBH");
     this.lblNSDJH                           = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblNSDJH");
     this.tvRegVersion                       = this.xmlComponentLoader1.GetControlByName <AisinoTVW>("tvRegVersion");
     this.txtAuthNo                          = this.xmlComponentLoader1.GetControlByName <TextBoxRegex>("txtAuthNo");
     this.lstBoxAuthNo                       = this.xmlComponentLoader1.GetControlByName <AisinoLST>("lstBoxAuthNo");
     this.numUDMachineNo.Enabled             = false;
     this.txtAuthNo.IsEmpty                  = false;
     this.txtAuthNo.RegexText                = "^[0-9]{0,20}$";
     this.tvRegVersion.ImageList             = this.imageList1;
     this.tvRegVersion.ImageIndex            = 0;
     this.tvRegVersion.SelectedImageIndex    = 0;
     this.chkBeforeDate.Visible              = true;
     this.numUdDays.Visible                  = true;
     this.label6.Visible                     = true;
     this.chkOverdate.Visible                = true;
     this.rtxtInsVersions.Visible            = true;
     this.btnSetupRegFile.Visible            = true;
     this.btnAdd.Click                      += new EventHandler(this.btnAdd_Click);
     this.btnRemove.Click                   += new EventHandler(this.btnRemove_Click);
     this.btnExport.Click                   += new EventHandler(this.btnExport_Click);
     this.btnLoad.Click                     += new EventHandler(this.btnLoad_Click);
     this.btnSetupRegFile.Click             += new EventHandler(this.btnSetupRegFile_Click);
     this.txtAuthNo.TextChanged             += new EventHandler(this.txtAuthNo_TextChanged);
     this.lstBoxAuthNo.SelectedIndexChanged += new EventHandler(this.lstBoxAuthNo_SelectedIndexChanged);
     this.tvRegVersion.AfterSelect          += new TreeViewEventHandler(this.tvRegVersion_AfterSelect);
     this.tvRegVersion.MouseClick           += new MouseEventHandler(this.tvRegVersion_MouseClick);
     this.delToolStripMenuItem.Click        += new EventHandler(this.delToolStripMenuItem_Click);
 }