コード例 #1
0
ファイル: MainForm.cs プロジェクト: Roare/ItemCreator
        private void editLottTemplateEntry_Click(object sender, EventArgs e)
        {
            string LootTemplate_ID = (string)this.lootTemplateDataGrid.SelectedRows[0].Cells["lootTemplateIDDataGridViewTextBoxColumn"].Value;

            editLootTemplate editLootTemplateForm = new editLootTemplate(this, LootTemplate_ID);
            DialogResult     result = editLootTemplateForm.ShowDialog();

            if (result == DialogResult.OK)
            {
                getLootTemplatesOfItem();
            }
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: Dawn-of-Light/ItemCreator
        private void editLottTemplateEntry_Click(object sender, EventArgs e)
        {
            string LootTemplate_ID = (string)this.lootTemplateDataGrid.SelectedRows[0].Cells["lootTemplateIDDataGridViewTextBoxColumn"].Value;

            editLootTemplate editLootTemplateForm = new editLootTemplate(this, LootTemplate_ID);
            DialogResult result = editLootTemplateForm.ShowDialog();
            if (result == DialogResult.OK)
            {
                getLootTemplatesOfItem();
            }
        }