示例#1
0
        private void newMobTemplate_Click(object sender, EventArgs e)
        {
            string LootTemplateName = (string)this.lootTemplateDataGrid.SelectedRows[0].Cells["templateNameDataGridViewTextBoxColumn"].Value;

            newMobAssignment newMobAssignmentForm = new newMobAssignment(this, LootTemplateName);
            DialogResult     result = newMobAssignmentForm.ShowDialog();

            if (result == DialogResult.OK)
            {
                getMobsOfLootTemplate();
            }
        }
示例#2
0
        private void newMobTemplate_Click(object sender, EventArgs e)
        {
            string LootTemplateName = (string)this.lootTemplateDataGrid.SelectedRows[0].Cells["templateNameDataGridViewTextBoxColumn"].Value;

            newMobAssignment newMobAssignmentForm = new newMobAssignment(this, LootTemplateName);
            DialogResult result = newMobAssignmentForm.ShowDialog();
            if (result == DialogResult.OK)
            {
                getMobsOfLootTemplate();
            }
        }