/// <summary> /// Constructs the main form. /// </summary> public MainForm() { InitializeComponent(); contentBuilder = new ContentBuilder(); contentManager = new ContentManager(modelViewerControl.Services, contentBuilder.OutputDirectory); /// Automatically bring up the "Load Model" dialog when we are first shown. this.Shown += OpenMenuClicked; modelViewerControl.MouseWheel += new MouseEventHandler(modelViewerControl_MouseWheel); }