Esempio n. 1
0
File: 父窗口.cs Progetto: 77XX/X
 private void button1_Click(object sender, EventArgs e)
 {
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 0)
     {
         Form2 form2 = new Form2();
         this.Hide();
         form2.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 1)
     {
         Form3 form3 = new Form3();
         this.Hide();
         form3.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 2)
     {
         Form4 form4 = new Form4();
         this.Hide();
         form4.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 3)
     {
         Form5 form5 = new Form5();
         this.Hide();
         form5.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 4)
     {
         Form6 form6 = new Form6();
         this.Hide();
         form6.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 5)
     {
         Form7 form7 = new Form7();
         this.Hide();
         form7.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 6)
     {
         Form8 form8 = new Form8();
         this.Hide();
         form8.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 7)
     {
         Form9 form9 = new Form9();
         this.Hide();
         form9.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 8)
     {
         Form10 form10 = new Form10();
         this.Hide();
         form10.Show();
     }
     if (sexual.SelectedIndex == 0 && st.SelectedIndex == 9)
     {
         Form11 form11 = new Form11();
         this.Hide();
         form11.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 0)
     {
         Form12 form12 = new Form12();
         this.Hide();
         form12.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 1)
     {
         Form13 form13 = new Form13();
         this.Hide();
         form13.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 2)
     {
         Form14 form14 = new Form14();
         this.Hide();
         form14.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 3)
     {
         Form15 form15 = new Form15();
         this.Hide();
         form15.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 4)
     {
         Form16 form16 = new Form16();
         this.Hide();
         form16.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 5)
     {
         Form17 form17 = new Form17();
         this.Hide();
         form17.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 6)
     {
         Form18 form18 = new Form18();
         this.Hide();
         form18.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 7)
     {
         Form19 form19 = new Form19();
         this.Hide();
         form19.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 8)
     {
         Form20 form20 = new Form20();
         this.Hide();
         form20.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 9)
     {
         Form21 form21 = new Form21();
         this.Hide();
         form21.Show();
     }
     if (sexual.SelectedIndex == 1 && st.SelectedIndex == 10)
     {
         Form22 form22 = new Form22();
         this.Hide();
         form22.Show();
     }
 }
Esempio n. 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form5 form5 = new Form5();

            form5.Show();
        }
Esempio n. 3
0
        private void comunicadoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form5 frm5 = new Form5();

            frm5.Show();
        }
Esempio n. 4
0
        private void Btncadastre_Click(object sender, EventArgs e)
        {
            Form5 cadUsuario = new Form5();

            cadUsuario.Show();
        }
Esempio n. 5
0
        private void ByID_Click(object sender, EventArgs e)
        {
            Form5 fm = new Form5();

            fm.Show();
        }
Esempio n. 6
0
 private void btnScores_Click(object sender, EventArgs e)
 {
     Form5 form5 = new Form5();
     form5.send(igrachi);
     form5.Show();
 }
Esempio n. 7
0
        private void button5_Click(object sender, EventArgs e)
        {
            var error5Form = new Form5();

            error5Form.Show();
        }
        private void label1_Click(object sender, EventArgs e)
        {
            Form5 f5 = new Form5();

            f5.Show();
        }
Esempio n. 9
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form5 secondForm = new Form5();

            secondForm.Show();
        }
Esempio n. 10
0
        private void button4_Click(object sender, EventArgs e)
        {
            Form5 ioi = new Form5();

            ioi.Show();
        }
Esempio n. 11
0
        private void Newrequest_Button_Click(object sender, EventArgs e)
        {
            Form5 request_form = new Form5(client);

            request_form.Show();
        }
Esempio n. 12
0
        private void button4_Click(object sender, EventArgs e)
        {
            Form5 FRect = new Form5();

            FRect.Show();
        }
Esempio n. 13
0
        private void toolStripLabel1_Click(object sender, EventArgs e)
        {
            Form5 qq = new Form5();

            qq.Show();
        }
Esempio n. 14
0
        private void нескоькоКритериевToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form5 z = new Form5();

            z.Show();
        }
Esempio n. 15
0
        private void poRezervacijamaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form5 f5 = new Form5();

            f5.Show();
        }
Esempio n. 16
0
        private void знайтиКількістьПроданихОдиницьПевногоТоваруToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form5 form5 = new Form5();

            form5.Show();
        }
Esempio n. 17
0
        private void bunifuThinButton212_Click(object sender, EventArgs e)
        {
            Form5 frm5 = new Form5();

            frm5.Show();
        }
Esempio n. 18
0
        public void GetAllWrestlers()
        {
            try
            {
                Form5 form = new Form5();
                for (int i = 0; i < wrestlers.Count; i += 2)
                {
                    var m_label = new Label
                    {
                        Name     = "Label" + i.ToString(),
                        Text     = wrestlers[i].Surname + " " + wrestlers[i].Name[0] + ".",
                        Location = new Point {
                            X = 6, Y = 40
                        },
                    };

                    var m_label2 = new Label
                    {
                        Name     = "Label" + (i + 1).ToString(),
                        Text     = wrestlers[i + 1].Surname + " " + wrestlers[i + 1].Name[0] + ".",
                        Location = new Point {
                            X = m_label.Location.X, Y = m_label.Location.Y - 22
                        },
                    };

                    var m_radio = new RadioButton
                    {
                        Name     = "Radio" + i.ToString(),
                        Text     = "Win 2",
                        Checked  = false,
                        AutoSize = true,
                        Location = new Point {
                            X = m_label.Location.X + 100, Y = m_label.Location.Y
                        },
                    };

                    var m_radio2 = new RadioButton
                    {
                        Text     = "Win 1",
                        Name     = "Radio" + (i + 1).ToString(),
                        Checked  = false,
                        AutoSize = true,
                        Location = new Point {
                            X = m_label2.Location.X + 100, Y = m_label2.Location.Y
                        },
                    };

                    var g_b = new GroupBox
                    {
                        Name     = "groupBox" + i.ToString(),
                        Text     = String.Empty,
                        Location = new Point {
                            X = 58, Y = i * 50
                        },
                        Width  = 162,
                        Height = 69
                    };
                    g_b.Controls.AddRange(new Control[] {
                        m_label, m_label2, m_radio2, m_radio
                    });
                    form.Controls["metroPanel1"].Controls.AddRange(new Control[]
                    {
                        g_b
                    });
                }
                form.Show();
            }
            catch (Exception)
            {
                MessageBox.Show("Please fill all area");
            }
        }
Esempio n. 19
0
        private void BarButtonItem13_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form5 x = new Form5();

            x.Show();
        }
Esempio n. 20
0
        private void 问题反馈ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form5 f5 = new Form5();

            f5.Show();
        }