protected override void InitModelUserControl(string label) { mStructureStrip = new StructureStrip(Manager, Localizer.GetString("structure_strip_label"), this); mModel = new ParStripModel(label, (StructureStripModel)mStructureStrip.Model); mUserControl = new ParStripUserControl(this); ((ParStripUserControl)mUserControl).AddStripUserControl(mStructureStrip.UserControl); ((StructureStripUserControl)(mStructureStrip.UserControl)).ParentStrip = (ParStripUserControl)mUserControl; mAudioStrip = null; Console.WriteLine("Bing!"); }
public void AddAudioStrip() { mAudioStrip = new AudioStrip(Manager, Localizer.GetString("audio_strip"), this); ((ParStripUserControl)mUserControl).AddStripUserControl(mAudioStrip.UserControl); ((AudioStripUserControl)(mAudioStrip.UserControl)).ParentStrip = (ParStripUserControl)mUserControl; }