示例#1
0
 private void itemToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //Items are assigned to Type = 4
     Dialogs.CreateObjectDialog dialog = new Dialogs.CreateObjectDialog(CreateObjectDialog.DotaType.Item);
     dialog.ShowDialog();
     if (dialog.DialogResult == DialogResult.OK)
     {
         RefreshTreeView();
     }
 }
示例#2
0
 private void itemToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //Items are assigned to Type = 4
     Dialogs.CreateObjectDialog dialog = new Dialogs.CreateObjectDialog(CreateObjectDialog.DotaType.Item);
     dialog.ShowDialog();
     if (dialog.DialogResult == DialogResult.OK)
     {
         RefreshTreeView();
     }
 }