private void button1_Click_1(object sender, RoutedEventArgs e) { CarListClient re = new CarListClient(); this.Hide(); re.Show(); }
private void button2_Click(object sender, RoutedEventArgs e) { CarListClient re = new CarListClient(); SecurityContext.avtovxod = 2; this.Hide(); re.Show(); }