当前位置: 首页>>代码示例>>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;未经允许,请勿转载。