private void CurveControl_Load(object sender, EventArgs e)
        {
            ISite site = (ParentForm != null)? ParentForm.Site: null;

            commandHistory          = CommandHistory.EnsureHasService(site);
            commandHistory.Changed += new EventHandler(commandHistory_Changed);
        }
Example #2
0
 private void CurveEditor_Load(object sender, EventArgs e)
 {
     commandHistory = CommandHistory.EnsureHasService(Site);
 }