Beispiel #1
0
 private void выбратьМодельДляЗагрузкиToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (openFileDialog1.ShowDialog() == Forms.DialogResult.OK)
     {
         Model = new anModelLoader();
         Model.LoadModel(openFileDialog1.FileName);
         RenderTimer.Start();
     }
 }
Beispiel #2
0
 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;
     }
 }