Exemple #1
0
 private void UpdateUser()
 {
     if (dgvUser.Items.Count > 0)
     {
         UserDetailWindow window = new UserDetailWindow(UserManager.MODE.MODIFY, m_user.Id);
         UpdateDialogResult(window.ShowDialog().Value);
     }
     else
     {
         MessageBox.Show("사용자 정보가 없습니다.", "알림", MessageBoxButton.OK);
     }
 }
Exemple #2
0
        private void CreateUser()
        {
            UserDetailWindow window = new UserDetailWindow(UserManager.MODE.SAVE);

            UpdateDialogResult(window.ShowDialog().Value);
        }