Exemplo n.º 1
0
 /// <summary>
 /// Open window for edit user
 /// </summary>
 private void editUser()
 {
     if (Index > -1)
     {
         ManageUserWindow window = new ManageUserWindow(ListInstance.Instance.users[Index], this.user.status);
         window.ShowDialog();
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// Open window for add user
        /// </summary>
        private void addUser()
        {
            ManageUserWindow window = new ManageUserWindow(null, this.user.status);

            window.ShowDialog();
        }