示例#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();
 }