Beispiel #1
0
        private void butregister_Click(object sender, EventArgs e)
        {
            Addandedituser registuser = new Addandedituser();

            registuser.ShowDialog();
            Addandeditaccount registaccount = new Addandeditaccount(3);

            registaccount.ShowDialog();
        }
Beispiel #2
0
 private void butedit_Click(object sender, EventArgs e)
 {
     if (listuser.DataSource != null)
     {
         if (listuser.Text != null)
         {
             Addandedituser edituser = new Addandedituser(listuser.Text);
             edituser.ShowDialog();
         }
         else
         {
             MessageBox.Show("Please chosing a User to edit infomation !", "Attention !");
         }
     }
     else
     {
         MessageBox.Show("Please refresh List User !", "Attention !");
     }
 }
Beispiel #3
0
        private void butadd_Click(object sender, EventArgs e)
        {
            Addandedituser adduser = new Addandedituser();

            adduser.ShowDialog();
        }