Esempio n. 1
0
        private void changeUser_btn_Click(object sender, RoutedEventArgs e)
        {
            Window ChildWindow = new redactWnd("Изменить", usersGrid.SelectedIndex);

            ChildWindow.Owner = this;
            ChildWindow.ShowDialog();
        }
Esempio n. 2
0
        private void addUser_btn_Click(object sender, RoutedEventArgs e)
        {
            Window ChildWindow = new redactWnd("Добавить");

            ChildWindow.Owner = this;
            ChildWindow.ShowDialog();
        }