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(); } }
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(); } }