示例#1
0
文件: Form1.cs 项目: Kuppuch/PCG_KP
 private void выбратьМодельДляЗагрузкиToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (openFileDialog1.ShowDialog() == Forms.DialogResult.OK)
     {
         Model = new anModelLoader();
         Model.LoadModel(openFileDialog1.FileName);
         RenderTimer.Start();
     }
 }
示例#2
0
文件: Form1.cs 项目: Kuppuch/PCG_KP
 private void button2_Click(object sender, EventArgs e)
 {
     accessRotate = !accessRotate;
     if (!accessRotate)
     {
         button2.Text = "назад";
         Model        = new anModelLoader();
         Model.LoadModel("C:\\Roman\\study\\4K8S\\PKG\\lab14\\Kuppe_Roman_PRI-117_lab_14\\Kuppe_Roman_PRI-117_KP\\bin\\Debug\\model\\KP2.ASE");
         RenderTimer.Start();
     }
     else
     {
         button2.Text = "в тир";
         Model        = null;
     }
 }