public bool EditFormula() { Form f = this.FindForm(); Rectangle size = this.Bounds; Form dlg = _root.CreateEditor(size) as Form; if (dlg != null) { if (dlg.ShowDialog(f) == DialogResult.OK) { return(true); } } return(false); }
public bool EditFormula() { Form f = this.FindForm(); Rectangle size = this.Bounds; Form dlg = _root.CreateEditor(size) as Form; if (dlg != null) { if (dlg.ShowDialog(f) == DialogResult.OK) { return(true); } } return(false); }