private void editMobTemplate_Click(object sender, EventArgs e) { string mobXLootTemplateID = (string)this.mobXTemplateDataGrid.SelectedRows[0].Cells["mobXLootTemplateIDDataGridViewTextBoxColumn"].Value; editMobAssignment editMobAssignmentForm = new editMobAssignment(this, mobXLootTemplateID); DialogResult result = editMobAssignmentForm.ShowDialog(); if (result == DialogResult.OK) { getMobsOfLootTemplate(); } }
private void editMobTemplate_Click(object sender, EventArgs e) { string mobXLootTemplateID = (string)this.mobXTemplateDataGrid.SelectedRows[0].Cells["mobXLootTemplateIDDataGridViewTextBoxColumn"].Value; editMobAssignment editMobAssignmentForm = new editMobAssignment(this, mobXLootTemplateID); DialogResult result = editMobAssignmentForm.ShowDialog(); if (result == DialogResult.OK) { getMobsOfLootTemplate(); } }