예제 #1
0
파일: ParStrip.cs 프로젝트: daisy/obi
 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!");
 }
예제 #2
0
파일: ParStrip.cs 프로젝트: daisy/obi
 public void AddAudioStrip()
 {
     mAudioStrip = new AudioStrip(Manager, Localizer.GetString("audio_strip"), this);
     ((ParStripUserControl)mUserControl).AddStripUserControl(mAudioStrip.UserControl);
     ((AudioStripUserControl)(mAudioStrip.UserControl)).ParentStrip = (ParStripUserControl)mUserControl;
 }