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

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

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