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 (); } } }
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(); } } }
private void buttonAdd_Click( object sender, EventArgs e ) { FormNewUser formEdit = new FormNewUser ( servis, listBoxUsers ); formEdit.Show (); }
private void buttonAdd_Click(object sender, EventArgs e) { FormNewUser formEdit = new FormNewUser(servis, listBoxUsers); formEdit.Show(); }