Ejemplo n.º 1
0
        /**********************************************************************************/

        #endregion Apps

        /**********************************************************************************/

        #region Users

        /**********************************************************************************/

        private void buttonAddUser_Click(object sender, EventArgs e)
        {
            EditUser edit_user_form = new EditUser(m_app_manager);

            edit_user_form.SetUsernameReadOnly(false);
            edit_user_form.SetOldPassReadOnly(true);
            edit_user_form.Show();
        }
Ejemplo n.º 2
0
        /**********************************************************************************/

        private void buttonEditUser_Click(object sender, EventArgs e)
        {
            string   target_username = listBoxUsers.SelectedItem as string;
            EditUser edit_user_form  = new EditUser(m_app_manager, target_username);

            edit_user_form.SetUsernameReadOnly(true);
            edit_user_form.SetOldPassReadOnly(false);
            edit_user_form.Show();
        }