public void OnLostFocus(object sender, EventArgs e) { SimpleFigures obj = sender as SimpleFigures; if (obj != null) { obj.PropertyPanel.Hide(); obj.DeselectControl(); } StackControl = null; }
public void OnLostFocus(object sender, EventArgs e) { Keyboard.ClearFocus(); SimpleFigures obj = sender as SimpleFigures; if (obj != null) { obj.Focusable = false; obj.DeselectControl(); } StackControl = null; }