private void myFunction(object sender, myEventArgs e) { //MessageBox.Show(e.get_UN() + e.get_P()); Registered_UN = e.get_UN(); Registered_P = e.get_P(); textBox1.Text = Registered_UN; textBox2.Text = Registered_P; }
private void myFunction(object sender, myEventArgs e) // Gets The Client Information After Registered { //MessageBox.Show(e.get_UN() + e.get_P()); Registered_UN = e.get_UN(); Registered_P = e.get_P(); textBox1.Text = Registered_UN; textBox2.Text = Registered_P; }
private void button1_Click(object sender, EventArgs e) { User_Name = textBox1.Text; Password = textBox2.Text; myEventArgs myEventArgs_temp = new myEventArgs(User_Name, Password); if (myEvent != null) myEvent(this, myEventArgs_temp); this.Close(); }
private void button1_Click(object sender, EventArgs e) { User_Name = textBox1.Text; Password = textBox2.Text; myEventArgs myEventArgs_temp = new myEventArgs(User_Name, Password); if (myEvent != null) { myEvent(this, myEventArgs_temp); } this.Close(); }