예제 #1
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            this.Hide();
            this.Closed += (s, args) => this.Close();
            Form f = CUser.LogIn(textBox1.Text, textBox2.Text);

            if (f is Login)
            {
                MessageBox.Show("Invalid datails");
            }
            f.Show();
        }
예제 #2
0
 private void button3_Click_1(object sender, EventArgs e)
 {
     this.Hide();
     this.Closed += (s, args) => this.Close();
     CUser.LogOut();
 }
예제 #3
0
 public Change_pass(CUser obj)
 {
     InitializeComponent();
     u = obj;
 }