private void userToolStripMenuItem_Click(object sender, EventArgs e) { int currentUserId = Membership.CurrentUser.UserId; var editUserForm = new EditUserForm(currentUserId); editUserForm.ShowDialog(); }
private void menuItemUserRegistration_Click(object sender, EventArgs e) { var editUserForm = new EditUserForm(0); editUserForm.ShowDialog(); }