Exemple #1
0
 public EditHeadingCommand(StructureHead heading, string label_before, uint level_before, StructureStripUserControl control)
 {
     mHeading     = heading;
     mLabelBefore = label_before;
     mLevelBefore = level_before;
     mLabelAfter  = heading.Label;
     mLevelAfter  = heading.Level.Level;
     mControl     = control;
 }
Exemple #2
0
 protected void InitModelUserControl(string label, ParStrip parent)
 {
     mModel       = new StructureStripModel(label, (ParStripModel)parent.Model);
     mUserControl = new StructureStripUserControl(this);
 }