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 StructureStripModel(string label, ParStripModel parent) : base(label, parent) { mHeading = new StructureHead(Localizer.GetString("default_heading"), 1); mPages = new List <PageItem>(); }
private ParStripModel mParent; // the container (i.e. par) public SeqStripModel(string label, ParStripModel parent) : base(label) { mParent = parent; }
public AudioStripModel(string label, ParStripModel parent) : base(label, parent) { mFile = null; }