Example #1
0
        public static void Main()
        {
            Model3DBean model3DBean = new Model3DBean();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm(model3DBean));
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MainForm"/> class.
 /// </summary>
 /// <param name="model3DBean">The bean used for a binding to imported models.</param>
 public MainForm(Model3DBean model3DBean)
 {
     this.InitializeComponent();
     this.model3DBean      = model3DBean;
     this.listModel3DPanel = new CheckListPanel(this, this.viewModelsMenuItem.Text);
 }