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