示例#1
0
 private void treeView1_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (treeView1.SelectedNode.Tag is Material)
     {
         frmMatEditor matEdit = new frmMatEditor();
         matEdit.Init();
         matEdit.Material = (Material)treeView1.SelectedNode.Tag;
         matEdit.Show();
         if (matEdit.DialogResult == DialogResult.OK)
         {
             treeView1.SelectedNode.Tag = matEdit.Material;
         }
     }
 }
示例#2
0
 private void treeView1_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (treeView1.SelectedNode.Tag is Material)
     {
         frmMatEditor matEdit = new frmMatEditor();
         matEdit.Init();
         matEdit.Material = (Material)treeView1.SelectedNode.Tag;
         matEdit.Show();
         if (matEdit.DialogResult == DialogResult.OK)
         {
             treeView1.SelectedNode.Tag = matEdit.Material;
         }
     }
 }
示例#3
0
 public Form1()
 {
     InitializeComponent();
     Console.WriteLine("Apex Editor Started.");
     matEditor = new frmMatEditor();
 }
示例#4
0
 public Form1()
 {
     InitializeComponent();
     Console.WriteLine("Apex Editor Started.");
     matEditor = new frmMatEditor();
 }