Example #1
0
 private void listBoxUsers_MouseDoubleClick( object sender, MouseEventArgs e )
 {
     if ( this.listBoxUsers.Items.Count != 0 )
     {
         if ( this.listBoxUsers.SelectedItem != null )
         {
             FormNewUser formEdit = new FormNewUser ( servis, this.listBoxUsers, ( User ) this.listBoxUsers.SelectedItem );
             formEdit.Show ();
         }
     }
 }
Example #2
0
 private void listBoxUsers_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (this.listBoxUsers.Items.Count != 0)
     {
         if (this.listBoxUsers.SelectedItem != null)
         {
             FormNewUser formEdit = new FormNewUser(servis, this.listBoxUsers, ( User )this.listBoxUsers.SelectedItem);
             formEdit.Show();
         }
     }
 }
Example #3
0
 private void buttonAdd_Click( object sender, EventArgs e )
 {
     FormNewUser formEdit = new FormNewUser ( servis, listBoxUsers );
     formEdit.Show ();
 }
Example #4
0
        private void buttonAdd_Click(object sender, EventArgs e)
        {
            FormNewUser formEdit = new FormNewUser(servis, listBoxUsers);

            formEdit.Show();
        }