示例#1
0
 private void InitializeComponent()
 {
     this.progressBar1 = new AisinoPRG();
     this.lblPercent   = new AisinoLBL();
     base.SuspendLayout();
     this.progressBar1.BackColor = SystemColors.ButtonShadow;
     this.progressBar1.Location  = new Point(0x16, 0x4a);
     this.progressBar1.Name      = "progressBar1";
     this.progressBar1.Size      = new Size(0x143, 0x17);
     this.progressBar1.TabIndex  = 2;
     this.lblPercent.ForeColor   = Color.DarkRed;
     this.lblPercent.Location    = new Point(20, 0x24);
     this.lblPercent.Name        = "lblPercent";
     this.lblPercent.Size        = new Size(0x150, 0x23);
     this.lblPercent.TabIndex    = 3;
     base.AutoScaleDimensions    = new SizeF(6f, 12f);
     base.AutoScaleMode          = AutoScaleMode.Font;
     this.BackColor  = SystemColors.Control;
     base.ClientSize = new Size(0x17d, 0x99);
     base.ControlBox = false;
     base.Controls.Add(this.lblPercent);
     base.Controls.Add(this.progressBar1);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Name            = "ProgressForm";
     base.Opacity         = 0.9;
     base.ShowInTaskbar   = false;
     base.StartPosition   = FormStartPosition.CenterParent;
     this.Text            = "进度条窗口";
     base.ResumeLayout(false);
 }
示例#2
0
 private void Initial()
 {
     this.InitializeComponent();
     base.MinimizeBox             = false;
     base.MaximizeBox             = false;
     this.MinimumSize             = new Size(400, 220);
     this.MaximumSize             = new Size(400, 220);
     this.labelWait               = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("labelWait");
     this.progressBarWait         = this.xmlComponentLoader1.GetControlByName <AisinoPRG>("progressBarWait");
     this.progressBarWait.Maximum = 8;
 }
 private void Initial()
 {
     this.InitializeComponent();
     base.MaximizeBox                 = false;
     base.MinimizeBox                 = false;
     base.FormBorderStyle             = FormBorderStyle.FixedDialog;
     this.labelRemind                 = this.xmlComponentLoaderRegister.GetControlByName <AisinoLBL>("labelRemind");
     this.progressBarRegister         = this.xmlComponentLoaderRegister.GetControlByName <AisinoPRG>("progressBarRegister");
     this.progressBarRegister.Maximum = 10;
     this.buttonStart                 = this.xmlComponentLoaderRegister.GetControlByName <AisinoBTN>("buttonStart");
     this.buttonStart.Click          += new EventHandler(this.buttonStart_Click);
 }
示例#4
0
 private void Initialize()
 {
     this.InitializeComponent();
     this.panel1               = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel1");
     this.panel2               = this.xmlComponentLoader1.GetControlByName <AisinoPNL>("panel2");
     this.panel1.Visible       = true;
     this.panel2.Visible       = false;
     this.lblStartTip          = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblStartTip");
     this.lblNotFind           = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblNotFind");
     this.lblFpzl              = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFpzl");
     this.lblFpdm              = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFpdm");
     this.lblFphm              = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFphm");
     this.lblFile              = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblFile");
     this.lblDjh               = this.xmlComponentLoader1.GetControlByName <AisinoLBL>("lblDjh");
     this.btnStart             = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnStart");
     this.btnExit              = this.xmlComponentLoader1.GetControlByName <AisinoBTN>("btnExit");
     this.pbImport             = this.xmlComponentLoader1.GetControlByName <AisinoPRG>("pbImport");
     this.btnStart.Click      += new EventHandler(this.btnStart_Click);
     this.btnExit.Click       += new EventHandler(this.btnExit_Click);
     this.lblFile.AutoEllipsis = true;
 }
示例#5
0
        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(WaitForm));

            this.progressBar = new AisinoPRG();
            this.lblContent  = new AisinoLBL();
            base.SuspendLayout();
            this.progressBar.Location = new Point(0x1f, 0x17);
            this.progressBar.Name     = "progressBar";
            this.progressBar.Size     = new Size(0xe3, 0x17);
            this.progressBar.TabIndex = 6;
            this.lblContent.AutoSize  = true;
            this.lblContent.Location  = new Point(0x1f, 0x43);
            this.lblContent.Name      = "lblContent";
            this.lblContent.Size      = new Size(0x77, 12);
            this.lblContent.TabIndex  = 5;
            this.lblContent.Text      = "正在执行,请稍候...";
            this.lblContent.TextAlign = ContentAlignment.MiddleLeft;
            base.AutoScaleDimensions  = new SizeF(6f, 12f);
            base.AutoScaleMode        = AutoScaleMode.Font;
            base.ClientSize           = new Size(300, 0x66);
            base.ControlBox           = false;
            base.Controls.Add(this.progressBar);
            base.Controls.Add(this.lblContent);
            base.FormBorderStyle = FormBorderStyle.FixedDialog;
            base.Icon            = (Icon)manager.GetObject("$this.Icon");
            base.MaximizeBox     = false;
            base.MinimizeBox     = false;
            base.Name            = "WaitForm";
            base.Opacity         = 0.9;
            base.ShowIcon        = false;
            base.StartPosition   = FormStartPosition.CenterParent;
            this.Text            = "提示";
            base.ResumeLayout(false);
            base.PerformLayout();
        }