public MainForm() { InitializeComponent(); this.Icon = Properties.Resources.icon; this.Cursor = new Cursor(Properties.Resources.pointer_ptr.GetHicon()); ol = new ObjectsList(this); comboBox1.DataSource = ol.Collection; comboBox1.DisplayMember = "Name"; comboBox1.ValueMember = "Id"; }
public void DoFinalRenderCalculus(ObjectsList ol, MainForm f, FinalRender r) { this.ol = ol.Items; this.animatronic = ol.Animatronic; this.form = f; this.render = r; if (animatronic.FramesNumber == 0 || form.skipanimations.Checked) { Mode = MODE.RENDER; } else { render.Render.Invoke(render.Render.SetMaximum, new object[] { animatronic.FramesNumber }); Mode = MODE.ANIM; } this.RunWorkerAsync(); }
public void DoScenePreviewCalculus(ObjectsList ol) { this.ol = ol.Items; Mode = MODE.PREVIEW; this.RunWorkerAsync(); }