Example #1
0
        private void EditToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            //Base_TN node = (Base_TN)HellionExplorerProgram.MainForm.treeView1.SelectedNode;

            Type t = HellionExplorerProgram.MainForm.treeView1.SelectedNode.GetType();

            if (t == typeof(Json_TN))
            {
                HellionExplorerProgram.CreateNewJsonDataView((Json_TN)HellionExplorerProgram.MainForm.treeView1.SelectedNode);
            }

            //else if (t.Equals(typeof(Base_TN)) && node.NodeType == Base_TN_NodeType.StationBlueprintFile)
            //{
            //    LaunchBlueprintEditor();

            //}
        }