protected override void Clone_Click(object sender, RoutedEventArgs e) { ValueBox VB = new ValueBox(ParentSheet, Panel, new Point(X + 5, Y + 5)) {Text = Formula}; VB.UpdateText(); VB.UpdateFont(FontSize,FontStyle,FontWeight,FontFamily); Unfocus(); }
private void CreateValueBox(Point L, Canvas P) { ValueBox T = new ValueBox(sheet,P,L); }