Beispiel #1
0
        private void bunifuFlatButton2_Click(object sender, EventArgs e)
        {
            string user = bunifuTextbox1.text;
            string pass = bunifuTextbox2.text;

            if (user.Equals("user") && pass.Equals("user"))
            {
                Form1 f2 = new Form1();
                this.Hide();
                f2.Show();
                //Createschedule cs = new Createschedule();
                //cs.Show();
            }
            if (user.Equals("admin") && pass.Equals("admin"))
            {
                Createschedule cs = new Createschedule();

                this.Dispose();
                cs.Show();
            }
        }
Beispiel #2
0
        private void bunifuThinButton23_Click(object sender, EventArgs e)
        {
            Createschedule cs = new Createschedule();

            cs.Show();
        }