Пример #1
0
        private static void ThreadTask(object info)
        {
            //initialize the form
            waitingForm = new SplashForm();
            waitingForm.ShowInTaskbar = false;
            Rectangle or       = (Rectangle)info.GetType().GetProperty("OwnerRect").GetValue(info);
            Point     location = new Point(or.X + (or.Width - waitingForm.Width) / 2, or.Y + (or.Height - waitingForm.Height) / 2);

            waitingForm.Location        = location;
            waitingForm.FormBorderStyle = FormBorderStyle.None;
            waitingForm.ControlBox      = false;
            waitingForm.TopMost         = true;
            waitingForm.StartPosition   = FormStartPosition.Manual;

            RadProgressBar pb = waitingForm.Controls[0] as RadProgressBar;
            RadWaitingBar  wb = new RadWaitingBar();

            wb.Size     = pb.Size;
            wb.Location = pb.Location;

            waitingForm.Controls.Remove(pb);
            waitingForm.Controls.Add(wb);

            wb.StartWaiting();


            Application.Run(waitingForm);
        }
Пример #2
0
        private void _downloadViewModel_Downloaded(DownloadDataModel downloadDataModel)
        {
            TableLayoutPanel tblToDelete = getControlById(downloadDataModel.Id);

            if (tblToDelete != null)
            {
                RadWaitingBar radWaitingBar = null;
                foreach (var cont in tblToDelete.Controls)
                {
                    if (cont is RadDropDownButton)
                    {
                        var btn = (RadDropDownButton)cont;
                        btn.Enabled = true;
                    }
                    if (cont is RadWaitingBar)
                    {
                        var wBar = (RadWaitingBar)cont;
                        wBar.StopWaiting();
                        radWaitingBar = wBar;
                    }
                }
                if (radWaitingBar != null)
                {
                    tblToDelete.Controls.Remove(radWaitingBar);
                    tblToDelete.ColumnStyles.RemoveAt(1);
                }
            }
        }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="waitingBar"></param>
 /// <param name="waiting"></param>
 public static void SetIsWaiting(this RadWaitingBar waitingBar, bool waiting)
 {
     if (waiting && !waitingBar.IsWaiting)
     {
         waitingBar.StartWaiting();
     }
     else if (!waiting && waitingBar.IsWaiting)
     {
         waitingBar.StopWaiting();
     }
 }
Пример #4
0
 private void InitializeComponent()
 {
     this.radWaitingBar1 = new RadWaitingBar();
     this.rotatingRingsWaitingBarIndicatorElement1 = new RotatingRingsWaitingBarIndicatorElement();
     this.progressBar = new RadProgressBar();
     this.radWaitingBar1.BeginInit();
     this.progressBar.BeginInit();
     this.SuspendLayout();
     this.radWaitingBar1.Anchor   = AnchorStyles.Bottom | AnchorStyles.Right;
     this.radWaitingBar1.Location = new Point(1311, -1);
     this.radWaitingBar1.Name     = "radWaitingBar1";
     this.radWaitingBar1.RootElement.FocusBorderColor = Color.FromArgb((int)byte.MaxValue, 128, 0);
     this.radWaitingBar1.Size     = new Size(70, 70);
     this.radWaitingBar1.TabIndex = 1;
     this.radWaitingBar1.Text     = "radWaitingBar1";
     this.radWaitingBar1.WaitingIndicators.Add((BaseWaitingBarIndicatorElement)this.rotatingRingsWaitingBarIndicatorElement1);
     this.radWaitingBar1.WaitingStep  = 7;
     this.radWaitingBar1.WaitingStyle = WaitingBarStyles.RotatingRings;
     ((RadWaitingBarElement)this.radWaitingBar1.GetChildAt(0)).WaitingStep = 7;
     ((WaitingBarSeparatorElement)this.radWaitingBar1.GetChildAt(0).GetChildAt(0).GetChildAt(0)).Dash = false;
     this.rotatingRingsWaitingBarIndicatorElement1.AutoSize                 = true;
     this.rotatingRingsWaitingBarIndicatorElement1.BackColor                = Color.Black;
     this.rotatingRingsWaitingBarIndicatorElement1.BackColor2               = Color.Black;
     this.rotatingRingsWaitingBarIndicatorElement1.BackColor3               = Color.Black;
     this.rotatingRingsWaitingBarIndicatorElement1.BackColor4               = Color.Black;
     this.rotatingRingsWaitingBarIndicatorElement1.ElementColor             = Color.Coral;
     this.rotatingRingsWaitingBarIndicatorElement1.ElementColor2            = Color.FromArgb((int)byte.MaxValue, 10, 63);
     this.rotatingRingsWaitingBarIndicatorElement1.ElementColor3            = Color.FromArgb((int)byte.MaxValue, 125, 10);
     this.rotatingRingsWaitingBarIndicatorElement1.ElementCount             = 5;
     this.rotatingRingsWaitingBarIndicatorElement1.FocusBorderColor         = Color.FromArgb((int)byte.MaxValue, 128, 0);
     this.rotatingRingsWaitingBarIndicatorElement1.InnerRingBackgroundColor = Color.FromArgb((int)byte.MaxValue, 63, 10);
     this.rotatingRingsWaitingBarIndicatorElement1.Name = "rotatingRingsWaitingBarIndicatorElement1";
     this.rotatingRingsWaitingBarIndicatorElement1.OuterRingBackgroundColor = Color.FromArgb((int)byte.MaxValue, 10, 10);
     this.rotatingRingsWaitingBarIndicatorElement1.Radius = 20;
     this.progressBar.Anchor   = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.progressBar.Location = new Point(23, 22);
     this.progressBar.Name     = "progressBar";
     this.progressBar.Size     = new Size(1292, 24);
     this.progressBar.TabIndex = 2;
     this.progressBar.Value1   = 50;
     this.AutoScaleDimensions  = new SizeF(6f, 13f);
     this.AutoScaleMode        = AutoScaleMode.Font;
     this.BackColor            = Color.Black;
     this.ClientSize           = new Size(1393, 68);
     this.Controls.Add((Control)this.progressBar);
     this.Controls.Add((Control)this.radWaitingBar1);
     this.Name = nameof(frmLoadOverlay);
     this.radWaitingBar1.EndInit();
     this.progressBar.EndInit();
     this.ResumeLayout(false);
 }
Пример #5
0
        public SearchCompetitor(TextEdit bib)
        {
            _currentEzd = (PictureEdit)CurrentEzd.EzdPictureEdit;

            _bib_text = bib;

            InitializeComponent();

            waitingBar = new RadWaitingBar();
            waitingBar.AssociatedControl = this.layoutControl2;
            waitingBar.Size         = new System.Drawing.Size(80, 80);
            waitingBar.WaitingStyle = Telerik.WinControls.Enumerations.WaitingBarStyles.LineRing;

            this.layoutControl2.Controls.Add(waitingBar);
        }
Пример #6
0
        public void AddWaitingBar()
        {
            Thread thread = new Thread(delegate()
            {
                RadWaitingBar waitingBar = new RadWaitingBar();
                waitingBar.Size          = new Size(30, 30);
                waitingBar.Location      = new Point(this.Width / 2, this.Height / 2);
                waitingBar.WaitingStyle  = Telerik.WinControls.Enumerations.WaitingBarStyles.LineRing;
                waitingBar.WaitingSpeed  = 10;
                _radlvFriendList.Controls.Add(waitingBar);
                waitingBar.StartWaiting();
                _waitingBar = waitingBar;
            });

            thread.Start();
        }
Пример #7
0
        private RadWaitingBar createWatingBar(DownloadDataModel downloadDataModel)
        {
            RadWaitingBar radWaitingBar1 = new RadWaitingBar();
            DotsSpinnerWaitingBarIndicatorElement dotsSpinnerWaitingBarIndicatorElement1 = new DotsSpinnerWaitingBarIndicatorElement();

            radWaitingBar1.Dock     = DockStyle.Fill;
            radWaitingBar1.Location = new Point(3, 3);
            radWaitingBar1.Size     = new Size(54, 57);
            radWaitingBar1.TabIndex = 1;
            radWaitingBar1.WaitingIndicators.Add(dotsSpinnerWaitingBarIndicatorElement1);
            radWaitingBar1.WaitingSpeed = 100;
            radWaitingBar1.WaitingStyle = Telerik.WinControls.Enumerations.WaitingBarStyles.DotsSpinner;
            radWaitingBar1.Tag          = downloadDataModel.Id;
            radWaitingBar1.StartWaiting();
            return(radWaitingBar1);
        }
        public void AddWaitingBar()
        {
            Thread thread = new Thread(delegate()
            {
                RadWaitingBar waitingBar = new RadWaitingBar();
                waitingBar.WaitingStyle  = Telerik.WinControls.Enumerations.WaitingBarStyles.LineRing;
                waitingBar.Size          = new Size(_radchatChatGroup.Size.Width, _radchatChatGroup.Height);
                waitingBar.WaitingSpeed  = 10;
                waitingBar.BackColor     = Color.White;
                waitingBarControl        = waitingBar;
                _radchatChatGroup.Invoke(new MethodInvoker(delegate()
                {
                    _radchatChatGroup.Controls.Add(waitingBar);
                    waitingBar.StartWaiting();
                }));
            });

            thread.Start();
        }
Пример #9
0
        public VirtualRadGridView()
            : base()
        {
            this.EnablePaging                        = true;
            this.EnableSorting                       = true;
            this.EnableFiltering                     = true;
            this.EnableGrouping                      = true;
            this.VirtualMode                         = true;
            this.AutomaticallyPushCellValues         = true;
            this.AutomaticallyRetreiveCellValues     = true;
            this.MasterTemplate.PagingBeforeGrouping = true;
            this.ShowLoadingOverlay                  = true;

            this.loadingOverlay              = this.CreateLoadingOverlay();
            this.loadingOverlay.Parent       = this;
            this.loadingOverlay.Dock         = DockStyle.None;
            this.loadingOverlay.WaitingStyle = Telerik.WinControls.Enumerations.WaitingBarStyles.Dash;
            this.loadingOverlay.Visible      = false;
        }
Пример #10
0
        public GetEvents(Eventor eventor)
        {
            InitializeComponent();

            this._data = eventor.Events.Select(p => new Event {
                Token = p.Token, Id = p.Id, Name = p.Name
            }).ToList();

            if (eventor.Events != null)
            {
                this.listBoxControl1.DataSource    = this._data;
                this.listBoxControl1.DisplayMember = "Name";
            }

            waitingBar = new RadWaitingBar();
            waitingBar.AssociatedControl = this.layoutControl21;
            waitingBar.Size         = new System.Drawing.Size(80, 80);
            waitingBar.WaitingStyle = Telerik.WinControls.Enumerations.WaitingBarStyles.LineRing;

            this.layoutControl21.Controls.Add(waitingBar);
        }
Пример #11
0
        private void Initial()
        {
            // Init waiting bar
            waitingBar = new RadWaitingBar();
            waitingBar.AssociatedControl = this.layoutControl1;
            waitingBar.Size         = new System.Drawing.Size(80, 80);
            waitingBar.WaitingStyle = Telerik.WinControls.Enumerations.WaitingBarStyles.LineRing;

            this.layoutControl1.Controls.Add(waitingBar);

            try
            {
                // Connect sdk
                var err = JczLmc.Initialize(Application.StartupPath, true);

                userDataDtos = UserDataRepository.GetAllUser();

                if (userDataDtos.Count > 0)
                {
                    for (int i = 0; i < userDataDtos.Count; i++)
                    {
                        var image = this.layoutControl1.Controls.OfType <PictureEdit>()
                                    .Where(c => c.TabIndex == i + 40)
                                    .Select(c => c)
                                    .First();

                        image.Image = Image.FromFile($@"{filesPath}{userDataDtos[i].FullImage}");
                        image.Properties.ReadOnly = false;
                        image.Cursor   = Cursors.Hand;
                        image.Tag      = @"filled";
                        currentPEindex = i;
                        if (i + 1 == userDataDtos.Count)
                        {
                            // last plus
                            var lastImage = this.layoutControl1.Controls.OfType <PictureEdit>()
                                            .Where(c => c.TabIndex == (i + 1) + 40)
                                            .Select(c => c)
                                            .First();

                            lastImage.Image  = Image.FromFile($@"{iconsPath}plus.png");
                            lastImage.Cursor = Cursors.Hand;
                            lastImage.Properties.ReadOnly = false;
                            lastImage.Tag = @"next";
                        }
                    }

                    var currentData = userDataDtos.LastOrDefault();

                    UpdateImageFromDB(currentData);

                    this.loginTextEdit.Text = currentData.Login;

                    this.currentPEindex = (int)currentData.Sequence;

                    this.passwordTextEdit.Text = currentData.Password;

                    this.urlTextEdit.Text = currentData.Url;

                    CurrentApiData.Token = currentData.Token;
                }
            }
            catch (Exception ex)
            {
                XtraMessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK);
            }
        }
Пример #12
0
 private void InitializeComponent()
 {
     this.btn_Cancel        = new Button();
     this.txtBox_BatchNO    = new TextBox();
     this.label1            = new Label();
     this.btn_DelBatch      = new Button();
     this.label3            = new Label();
     this.radWaitingBar1    = new RadWaitingBar();
     this.tableLayoutPanel1 = new TableLayoutPanel();
     this.panel1            = new Panel();
     this.panel2            = new Panel();
     this.panel3            = new Panel();
     this.tabControl1       = new TabControl();
     this.tabPage_Local     = new TabPage();
     this.listView1         = new ListView();
     this.columnHeader1     = new ColumnHeader();
     ((ISupportInitialize)this.radWaitingBar1).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage_Local.SuspendLayout();
     base.SuspendLayout();
     this.btn_Cancel.Location = new Point(516, 127);
     this.btn_Cancel.Name     = "btn_Cancel";
     this.btn_Cancel.Size     = new Size(136, 38);
     this.btn_Cancel.TabIndex = 1;
     this.btn_Cancel.Text     = "关闭";
     this.btn_Cancel.UseVisualStyleBackColor = true;
     this.btn_Cancel.Click       += new EventHandler(this.btn_Cancel_Click);
     this.txtBox_BatchNO.Location = new Point(92, 26);
     this.txtBox_BatchNO.Name     = "txtBox_BatchNO";
     this.txtBox_BatchNO.Size     = new Size(560, 25);
     this.txtBox_BatchNO.TabIndex = 2;
     this.label1.AutoSize         = true;
     this.label1.Location         = new Point(29, 31);
     this.label1.Name             = "label1";
     this.label1.Size             = new Size(52, 15);
     this.label1.TabIndex         = 3;
     this.label1.Text             = "批次号";
     this.btn_DelBatch.Location   = new Point(92, 127);
     this.btn_DelBatch.Name       = "btn_DelBatch";
     this.btn_DelBatch.Size       = new Size(136, 38);
     this.btn_DelBatch.TabIndex   = 5;
     this.btn_DelBatch.Text       = "删除批次";
     this.btn_DelBatch.UseVisualStyleBackColor = true;
     this.btn_DelBatch.Click      += new EventHandler(this.btn_DelBatch_Click);
     this.label3.AutoSize          = true;
     this.label3.Location          = new Point(9, 154);
     this.label3.Margin            = new Padding(4, 0, 4, 0);
     this.label3.Name              = "label3";
     this.label3.Size              = new Size(55, 15);
     this.label3.TabIndex          = 7;
     this.label3.Text              = "label3";
     this.radWaitingBar1.BackColor = SystemColors.ControlLightLight;
     this.radWaitingBar1.Dock      = DockStyle.Bottom;
     this.radWaitingBar1.Location  = new Point(0, 391);
     this.radWaitingBar1.Margin    = new Padding(4);
     this.radWaitingBar1.Name      = "radWaitingBar1";
     this.radWaitingBar1.RootElement.ControlBounds = new Rectangle(0, 391, 150, 30);
     this.radWaitingBar1.RootElement.ToolTipText   = null;
     this.radWaitingBar1.Size     = new Size(734, 33);
     this.radWaitingBar1.TabIndex = 3;
     this.radWaitingBar1.Text     = "radWaitingBar1";
     this.radWaitingBar1.WaitingIndicatorWidth = 0;
     this.radWaitingBar1.WaitingSpeed          = 10;
     this.tableLayoutPanel1.ColumnCount        = 1;
     this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.panel3, 0, 0);
     this.tableLayoutPanel1.Dock     = DockStyle.Fill;
     this.tableLayoutPanel1.Location = new Point(0, 0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 3;
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 203f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 190f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 91f));
     this.tableLayoutPanel1.Size     = new Size(734, 391);
     this.tableLayoutPanel1.TabIndex = 8;
     this.panel1.Controls.Add(this.label3);
     this.panel1.Dock     = DockStyle.Fill;
     this.panel1.Location = new Point(3, 396);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new Size(728, 85);
     this.panel1.TabIndex = 0;
     this.panel1.Visible  = false;
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.txtBox_BatchNO);
     this.panel2.Controls.Add(this.btn_Cancel);
     this.panel2.Controls.Add(this.btn_DelBatch);
     this.panel2.Dock     = DockStyle.Fill;
     this.panel2.Location = new Point(3, 206);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new Size(728, 184);
     this.panel2.TabIndex = 1;
     this.panel3.Controls.Add(this.tabControl1);
     this.panel3.Dock     = DockStyle.Fill;
     this.panel3.Location = new Point(3, 3);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new Size(728, 197);
     this.panel3.TabIndex = 2;
     this.tabControl1.Controls.Add(this.tabPage_Local);
     this.tabControl1.Dock          = DockStyle.Fill;
     this.tabControl1.Location      = new Point(0, 0);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new Size(728, 197);
     this.tabControl1.TabIndex      = 5;
     this.tabPage_Local.Controls.Add(this.listView1);
     this.tabPage_Local.Location = new Point(4, 25);
     this.tabPage_Local.Name     = "tabPage_Local";
     this.tabPage_Local.Padding  = new Padding(3);
     this.tabPage_Local.Size     = new Size(720, 168);
     this.tabPage_Local.TabIndex = 0;
     this.tabPage_Local.Text     = "本地已提交批次";
     this.tabPage_Local.UseVisualStyleBackColor = true;
     this.listView1.BorderStyle = BorderStyle.FixedSingle;
     this.listView1.Columns.AddRange(new ColumnHeader[]
     {
         this.columnHeader1
     });
     this.listView1.Dock          = DockStyle.Fill;
     this.listView1.FullRowSelect = true;
     this.listView1.GridLines     = true;
     this.listView1.Location      = new Point(3, 3);
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new Size(714, 162);
     this.listView1.TabIndex      = 4;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View              = View.Details;
     this.listView1.MouseDoubleClick += new MouseEventHandler(this.listView1_MouseDoubleClick);
     this.columnHeader1.Text          = "批次号";
     this.columnHeader1.Width         = 265;
     base.AutoScaleDimensions         = new SizeF(8f, 15f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize    = new Size(734, 424);
     base.Controls.Add(this.tableLayoutPanel1);
     base.Controls.Add(this.radWaitingBar1);
     base.Margin = new Padding(3);
     base.Name   = "FormDelBatch";
     this.Text   = "批次查询";
     ((ISupportInitialize)this.radWaitingBar1).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.panel3.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage_Local.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Пример #13
0
 private void InitializeComponent()
 {
     this.btn_Download      = new Button();
     this.btn_Cancel        = new Button();
     this.textBox1          = new TextBox();
     this.label1            = new Label();
     this.label3            = new Label();
     this.radWaitingBar1    = new RadWaitingBar();
     this.tableLayoutPanel1 = new TableLayoutPanel();
     this.panel1            = new Panel();
     this.panel2            = new Panel();
     this.panel3            = new Panel();
     this.listView1         = new ListView();
     this.columnHeader1     = new ColumnHeader();
     this.columnHeader2     = new ColumnHeader();
     ((ISupportInitialize)this.radWaitingBar1).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     base.SuspendLayout();
     this.btn_Download.Location = new Point(152, 146);
     this.btn_Download.Name     = "btn_Download";
     this.btn_Download.Size     = new Size(127, 38);
     this.btn_Download.TabIndex = 0;
     this.btn_Download.Text     = "下载&D";
     this.btn_Download.UseVisualStyleBackColor = true;
     this.btn_Download.Click += new EventHandler(this.btn_Download_Click);
     this.btn_Cancel.Location = new Point(516, 146);
     this.btn_Cancel.Name     = "btn_Cancel";
     this.btn_Cancel.Size     = new Size(136, 38);
     this.btn_Cancel.TabIndex = 1;
     this.btn_Cancel.Text     = "关闭&C";
     this.btn_Cancel.UseVisualStyleBackColor = true;
     this.btn_Cancel.Click        += new EventHandler(this.btn_Cancel_Click);
     this.textBox1.Location        = new Point(92, 72);
     this.textBox1.Name            = "textBox1";
     this.textBox1.Size            = new Size(560, 25);
     this.textBox1.TabIndex        = 2;
     this.label1.AutoSize          = true;
     this.label1.Location          = new Point(34, 75);
     this.label1.Name              = "label1";
     this.label1.Size              = new Size(52, 15);
     this.label1.TabIndex          = 3;
     this.label1.Text              = "批次号";
     this.label3.AutoSize          = true;
     this.label3.Location          = new Point(9, 154);
     this.label3.Margin            = new Padding(4, 0, 4, 0);
     this.label3.Name              = "label3";
     this.label3.Size              = new Size(55, 15);
     this.label3.TabIndex          = 7;
     this.label3.Text              = "label3";
     this.radWaitingBar1.BackColor = SystemColors.ControlLightLight;
     this.radWaitingBar1.Dock      = DockStyle.Bottom;
     this.radWaitingBar1.Location  = new Point(0, 433);
     this.radWaitingBar1.Margin    = new Padding(4);
     this.radWaitingBar1.Name      = "radWaitingBar1";
     this.radWaitingBar1.RootElement.ControlBounds = new Rectangle(0, 433, 150, 30);
     this.radWaitingBar1.RootElement.ToolTipText   = null;
     this.radWaitingBar1.Size     = new Size(812, 33);
     this.radWaitingBar1.TabIndex = 3;
     this.radWaitingBar1.Text     = "radWaitingBar1";
     this.radWaitingBar1.WaitingIndicatorWidth = 0;
     this.radWaitingBar1.WaitingSpeed          = 10;
     this.tableLayoutPanel1.ColumnCount        = 1;
     this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.panel3, 0, 0);
     this.tableLayoutPanel1.Dock     = DockStyle.Fill;
     this.tableLayoutPanel1.Location = new Point(0, 0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 3;
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 229f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 205f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 50f));
     this.tableLayoutPanel1.Size     = new Size(812, 433);
     this.tableLayoutPanel1.TabIndex = 8;
     this.panel1.Controls.Add(this.label3);
     this.panel1.Dock     = DockStyle.Fill;
     this.panel1.Location = new Point(3, 437);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new Size(806, 44);
     this.panel1.TabIndex = 0;
     this.panel1.Visible  = false;
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.textBox1);
     this.panel2.Controls.Add(this.btn_Cancel);
     this.panel2.Controls.Add(this.btn_Download);
     this.panel2.Dock           = DockStyle.Fill;
     this.panel2.Location       = new Point(3, 232);
     this.panel2.Name           = "panel2";
     this.panel2.Size           = new Size(806, 199);
     this.panel2.TabIndex       = 1;
     this.panel3.Dock           = DockStyle.Fill;
     this.panel3.Location       = new Point(3, 3);
     this.panel3.Name           = "panel3";
     this.panel3.Size           = new Size(806, 223);
     this.panel3.TabIndex       = 2;
     this.listView1.BorderStyle = BorderStyle.FixedSingle;
     this.listView1.Columns.AddRange(new ColumnHeader[]
     {
         this.columnHeader1,
         this.columnHeader2
     });
     this.listView1.Dock          = DockStyle.Top;
     this.listView1.FullRowSelect = true;
     this.listView1.GridLines     = true;
     this.listView1.Location      = new Point(0, 0);
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new Size(812, 226);
     this.listView1.TabIndex      = 4;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View              = View.Details;
     this.listView1.MouseDoubleClick += new MouseEventHandler(this.listView1_MouseDoubleClick);
     this.columnHeader1.Text          = "批次号";
     this.columnHeader1.Width         = 265;
     this.columnHeader2.Text          = "时间";
     base.AutoScaleDimensions         = new SizeF(8f, 15f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.Controls.Add(this.listView1);
     base.Controls.Add(this.tableLayoutPanel1);
     base.Controls.Add(this.radWaitingBar1);
     base.Name = "UCQueryBatch";
     base.Size = new Size(812, 466);
     ((ISupportInitialize)this.radWaitingBar1).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     base.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.btn_Upload     = new Button();
     this.btn_Close      = new Button();
     this.radWaitingBar1 = new RadWaitingBar();
     this.listView1      = new ListView();
     this.columnHeader1  = new ColumnHeader();
     this.columnHeader2  = new ColumnHeader();
     this.columnHeader3  = new ColumnHeader();
     this.labelStatus    = new Label();
     this.btnShowEx      = new Button();
     ((ISupportInitialize)this.radWaitingBar1).BeginInit();
     base.SuspendLayout();
     this.btn_Upload.Location = new Point(248, 318);
     this.btn_Upload.Margin   = new Padding(2);
     this.btn_Upload.Name     = "btn_Upload";
     this.btn_Upload.Size     = new Size(87, 32);
     this.btn_Upload.TabIndex = 0;
     this.btn_Upload.Text     = "提交&S";
     this.btn_Upload.UseVisualStyleBackColor = true;
     this.btn_Upload.Click  += new EventHandler(this.btn_UploadBatch_Click);
     this.btn_Close.Location = new Point(413, 318);
     this.btn_Close.Margin   = new Padding(2);
     this.btn_Close.Name     = "btn_Close";
     this.btn_Close.Size     = new Size(87, 32);
     this.btn_Close.TabIndex = 1;
     this.btn_Close.Text     = "关闭&C";
     this.btn_Close.UseVisualStyleBackColor = true;
     this.btn_Close.Click         += new EventHandler(this.btn_Close_Click);
     this.radWaitingBar1.BackColor = SystemColors.ControlLightLight;
     this.radWaitingBar1.Dock      = DockStyle.Bottom;
     this.radWaitingBar1.Location  = new Point(0, 458);
     this.radWaitingBar1.Margin    = new Padding(2);
     this.radWaitingBar1.Name      = "progressBar1";
     this.radWaitingBar1.RootElement.ControlBounds = new Rectangle(0, 458, 150, 30);
     this.radWaitingBar1.RootElement.ToolTipText   = null;
     this.radWaitingBar1.Size     = new Size(695, 28);
     this.radWaitingBar1.TabIndex = 3;
     this.radWaitingBar1.Text     = "radWaitingBar1";
     this.radWaitingBar1.WaitingIndicatorWidth = 0;
     this.radWaitingBar1.WaitingSpeed          = 10;
     this.listView1.CheckBoxes = true;
     this.listView1.Columns.AddRange(new ColumnHeader[]
     {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3
     });
     this.listView1.Dock          = DockStyle.Top;
     this.listView1.FullRowSelect = true;
     this.listView1.GridLines     = true;
     this.listView1.HeaderStyle   = ColumnHeaderStyle.Nonclickable;
     this.listView1.Location      = new Point(0, 0);
     this.listView1.MultiSelect   = false;
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new Size(695, 235);
     this.listView1.TabIndex      = 4;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View       = View.Details;
     this.columnHeader1.Text   = "批次";
     this.columnHeader1.Width  = 248;
     this.columnHeader2.Text   = "状态";
     this.columnHeader2.Width  = 220;
     this.columnHeader3.Text   = "时间";
     this.columnHeader3.Width  = 220;
     this.labelStatus.AutoSize = true;
     this.labelStatus.Location = new Point(12, 373);
     this.labelStatus.Name     = "labelStatus";
     this.labelStatus.Size     = new Size(55, 15);
     this.labelStatus.TabIndex = 5;
     this.labelStatus.Text     = "label1";
     this.btnShowEx.Location   = new Point(651, 318);
     this.btnShowEx.Name       = "btnShowEx";
     this.btnShowEx.Size       = new Size(32, 23);
     this.btnShowEx.TabIndex   = 6;
     this.btnShowEx.Text       = ">>";
     this.btnShowEx.UseVisualStyleBackColor = true;
     base.AutoScaleDimensions = new SizeF(8f, 15f);
     base.AutoScaleMode       = AutoScaleMode.Font;
     base.ClientSize          = new Size(695, 486);
     base.Controls.Add(this.btnShowEx);
     base.Controls.Add(this.labelStatus);
     base.Controls.Add(this.listView1);
     base.Controls.Add(this.radWaitingBar1);
     base.Controls.Add(this.btn_Close);
     base.Controls.Add(this.btn_Upload);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.Margin          = new Padding(3, 2, 3, 2);
     base.Name            = "FormUploadBatchs";
     this.Text            = "批次提交";
     ((ISupportInitialize)this.radWaitingBar1).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }