private void btn_select(object o, EventArgs e)
        {
            Button btn = (Button)o;

            switch (btn.Name)
            {
            case "btn1":
                Form_User user = new Form_User();
                this.Visible = false;
                user.Show();
                break;

            case "btn2":
                Form_login log = new Form_login();
                this.Visible = false;
                log.Show();
                break;
            }
        }
Exemple #2
0
        private void btn_move_user_create_update_Click(object sender, EventArgs e)
        {
            Form_User f_user = new Form_User();

            f_user.Show();
        }