コード例 #1
0
 public ConfirmDeleteUserForm(SelectedUserForm selectedUserForm, string userID)
 {
     _selectedUserForm = selectedUserForm;
     _selectedUserForm.ShowInTaskbar = false;
     _userId = userID;
     InitializeComponent();
 }
コード例 #2
0
 private void registeredUsersTable_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         string dataValue = registeredUsersTable.Rows[e.RowIndex].Cells[0].Value.ToString();
         _selectedUserForm = new SelectedUserForm(dataValue, this);
         this.Enabled      = false;
         _selectedUserForm.Show();
     }
 }