Esempio n. 1
0
        /*
         * Function zone
         */
        public void addUser()
        {
            AddNewUserUI addNewUserUI = new AddNewUserUI(0);

            addNewUserUI.Owner = this;
            addNewUserUI.ShowDialog();
        }
Esempio n. 2
0
        public void modifyUser()
        {
            int  i     = dataGridView.CurrentRow.Index;
            long index = Convert.ToInt32(dataGridView.Rows[i].Cells[0].Value);

            if (index > 0)
            {
                AddNewUserUI addNewUserUI = new AddNewUserUI(index);
                addNewUserUI.Owner = this;
                addNewUserUI.ShowDialog();
            }
        }