Beispiel #1
0
 private void menuItemExample3D_90_Click(object sender, RoutedEventArgs e)
 {
     model = new sw_en_GUI.EXAMPLES._3D.CExample_3D_90();
     Window2 win = new Window2(model, m_bDebugging);
     list_trackports.Add(win._trackport);
     Container.Children.Add(new MdiChild { Content = (UIElement)win.Content, Title = "Example 3D 90" + " - Window " + (Container.Children.Count + 1) });
     win.Close();
 }
Beispiel #2
0
        private void menuItemNew_Click(object sender, RoutedEventArgs e)
        {
            // Start Window
            WindowStart st = new WindowStart();
            st.Show();

            // Model Window
            Window2 win = new Window2(m_bDebugging);
            list_trackports.Add(win._trackport);

            Container.Children.Add(new MdiChild { Content = (UIElement)win.Content, Title = "Window " + (Container.Children.Count + 1) });
            win.Close();
        }
Beispiel #3
0
        private void menuItemExample3D_50_Click(object sender, RoutedEventArgs e)
        {
            model = new sw_en_GUI.EXAMPLES._3D.CExample_3D_50();
            Window2 win = new Window2(model, m_bDebugging);
            list_trackports.Add(win._trackport);
            Container.Children.Add(new MdiChild { Content = (UIElement)win.Content, Title = "Example 3D 50" + " - Window " + (Container.Children.Count + 1) });

            FEM_CALC_1Din3D.CFEM_CALC obj_Calc = new FEM_CALC_1Din3D.CFEM_CALC(model, m_bDebugging); // Nove vypoctove jadro
            win.Close();
        }