private void InitPreview() { m_objPreview = new MPreviewClass(); m_Colors = new CoMColorsClass(); m_objPreview.PluginsAdd(m_Colors, 0); m_objPreview.ObjectStart(m_objMixer); LoadProps(); }
private void Form1_Load(object sender, EventArgs e) { m_objMFile = new MFileClass(); m_objMFile.OnFrameSafe += M_objMFile_OnFrameSafe; m_objPreview = new MPreviewClass(); m_objPreview.PreviewWindowSet("", panel1.Handle.ToInt32()); m_objPreview.PreviewEnable("", 1, 1); }
private void Form1_Load(object sender, EventArgs e) { m_objMFile1 = new MFileClass(); m_objPreview1 = new MPreviewClass(); m_objPreview1.PreviewWindowSet("", panel1.Handle.ToInt32()); m_objPreview1.PreviewEnable("", 0, 1); m_objPreview1.ObjectStart(null); m_objMFile2 = new MFileClass(); m_objPreview2 = new MPreviewClass(); m_objPreview2.PreviewWindowSet("", panel2.Handle.ToInt32()); m_objPreview2.PreviewEnable("", 0, 1); m_objMFile3 = new MFileClass(); m_objPreview3 = new MPreviewClass(); m_objPreview3.PreviewWindowSet("", panel3.Handle.ToInt32()); m_objPreview3.PreviewEnable("", 0, 1); m_objMFile4 = new MFileClass(); m_objPreview4 = new MPreviewClass(); m_objPreview4.PreviewWindowSet("", panel4.Handle.ToInt32()); m_objPreview4.PreviewEnable("", 0, 1); m_objMFile1.OnFrameSafe += M_objMFile1_OnFrameSafe; m_objMFile2.OnFrameSafe += M_objMFile2_OnFrameSafe; m_objMFile3.OnFrameSafe += M_objMFile3_OnFrameSafe; m_objMFile4.OnFrameSafe += M_objMFile4_OnFrameSafe; foreach (var s in sources) { listBox1.Items.Add(s); listBox2.Items.Add(s); listBox3.Items.Add(s); listBox4.Items.Add(s); } }