Пример #1
0
 private void back_Click(object sender, RoutedEventArgs e)
 {
     АвтозаправкаWin winTool = new АвтозаправкаWin();
     winTool.Owner = this;
     winTool.Show();
     this.Hide();
 }
Пример #2
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            АвтозаправкаWin winTool = new АвтозаправкаWin(int.Parse(entrance.Text));

            winTool.Owner = this;
            winTool.Show();
            this.Hide();
        }