Пример #1
0
 private void btnMyCars_Click(object sender, EventArgs e)
 {
     using (show_cars newWindow = new show_cars(currentUserID))
     {
         this.Visible = false;
         newWindow.ShowDialog();
         this.Close();
     }
 }
Пример #2
0
 private void btn_back_Click(object sender, EventArgs e)
 {
     using (show_cars newWindow = new show_cars(idUser))
     {
         this.Visible = false;
         newWindow.ShowDialog();
         this.Close();
     }
 }