當前位置: 首頁>>代碼示例>>C#>>正文


C# GroupBox.BringToFront方法代碼示例

本文整理匯總了C#中System.Windows.Forms.GroupBox.BringToFront方法的典型用法代碼示例。如果您正苦於以下問題:C# GroupBox.BringToFront方法的具體用法?C# GroupBox.BringToFront怎麽用?C# GroupBox.BringToFront使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在System.Windows.Forms.GroupBox的用法示例。


在下文中一共展示了GroupBox.BringToFront方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: ShowOcrMethodGroupBox

        private void ShowOcrMethodGroupBox(GroupBox groupBox)
        {
            GroupBoxTesseractMethod.Visible = false;
            groupBoxImageCompareMethod.Visible = false;
            groupBoxModiMethod.Visible = false;
            groupBoxNOCR.Visible = false;

            groupBox.Visible = true;
            groupBox.BringToFront();
            groupBox.Left = comboBoxOcrMethod.Left;
            groupBox.Top = 50;
        }
開發者ID:mgziminsky,項目名稱:subtitleedit,代碼行數:12,代碼來源:VobSubOcr.cs

示例2: loadForm1

        private void loadForm1()
        {
            this.Size = new Size(959, 595 + 24);
            panel1.Controls.Clear();
            // Tesuturi:

            groupBox1 = new GroupBox();
            groupBox1.Location = new Point(10, 19 + 24);
            groupBox1.Text = "Ţesuturi";
            groupBox1.Font = new Font("Verdana", 14.45f);
            groupBox1.ForeColor = Color.White;
            groupBox1.Size = new Size(313, 202);
            groupBox1.Visible = true;
            groupBox1.Enabled = true;
            groupBox1.BringToFront();
            groupBox1.BackColor = Color.Transparent;

            //button1

            button1 = new Button();
            button1.Location = new Point(5, 32);
            button1.Text = "Epitelial";
            button1.Font = new Font("Verdana", 11.45f);
            button1.ForeColor = Color.Black;
            button1.Size = new Size(121, 34);
            button1.Visible = true;
            button1.Enabled = true;
            button1.BringToFront();
            button1.Click += this.button1_Click;
            button1.MouseEnter += this.button1_MouseEnter;
            button1.MouseLeave += this.button_MouseLeave;

            //Button2

            button2 = new Button();
            button2.Location = new Point(5, 72);
            button2.Text = "Conjunctiv";
            button2.Font = new Font("Verdana", 11.45f);
            button2.ForeColor = Color.Black;
            button2.Size = new Size(121, 34);
            button2.Visible = true;
            button2.Enabled = true;
            button2.BringToFront();
            button2.Click += this.button2_Click;
            button2.MouseEnter += this.button2_MouseEnter;
            button2.MouseLeave += this.button_MouseLeave;

            //Button3

            button3 = new Button();
            button3.Location = new Point(5, 112);
            button3.Text = "Muscular";
            button3.Font = new Font("Verdana", 11.45f);
            button3.ForeColor = Color.Black;
            button3.Size = new Size(121, 34);
            button3.Visible = true;
            button3.Enabled = true;
            button3.BringToFront();
            button3.Click += this.button3_Click;
            button3.MouseEnter += this.button3_MouseEnter;
            button3.MouseLeave += this.button_MouseLeave;

            //Button4

            button4 = new Button();
            button4.Location = new Point(5, 152);
            button4.Text = "Nervos";
            button4.Font = new Font("Verdana", 11.45f);
            button4.ForeColor = Color.Black;
            button4.Size = new Size(121, 34);
            button4.Visible = true;
            button4.Enabled = true;
            button4.BringToFront();
            button4.Click += this.button4_Click;
            button4.MouseEnter += this.button4_MouseEnter;
            button4.MouseLeave += this.button_MouseLeave;

            //PictureBox1

            pictureBox1 = new PictureBox();
            pictureBox1.Location = new Point(140, 29);
            pictureBox1.BackColor = Color.Transparent;
            pictureBox1.Size = new Size(157, 156);
            pictureBox1.Visible = true;
            pictureBox1.Enabled = true;
            pictureBox1.BackgroundImageLayout = ImageLayout.Stretch;
            pictureBox1.BringToFront();

            // Aparate:

            groupBox2 = new GroupBox();
            groupBox2.Location = new Point(497, 19 + 24);
            groupBox2.Text = "Aparate";
            groupBox2.Font = new Font("Verdana", 14.45f);
            groupBox2.ForeColor = Color.White;
            groupBox2.Size = new Size(443, 287);
            groupBox2.Visible = true;
            groupBox2.Enabled = true;
            groupBox2.BringToFront();
            groupBox2.BackColor = Color.Transparent;
//.........這裏部分代碼省略.........
開發者ID:BorcanDorin,項目名稱:Nationala-Anatomia-Umana,代碼行數:101,代碼來源:elev.cs


注:本文中的System.Windows.Forms.GroupBox.BringToFront方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。