Пример #1
0
 private void Button01_Click(object sender, RoutedEventArgs e)
 {
     Window2 view = new Window2(m_bDebugging);
     view.Show();
 }
Пример #2
0
        private void menuItemViewShowModel_Click(object sender, RoutedEventArgs e)
        {
            Window2 win = new Window2(model, m_bDebugging);

            list_trackports.Add(win._trackport);

            Container.Children.Add(new MdiChild { Content = (UIElement)win.Content, Title = "Window " + (Container.Children.Count + 1) });
        }
Пример #3
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();
 }
Пример #4
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();
        }
Пример #5
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();
        }