コード例 #1
0
        public void OnLostFocus(object sender, EventArgs e)
        {
            SimpleFigures obj = sender as SimpleFigures;

            if (obj != null)
            {
                obj.PropertyPanel.Hide();
                obj.DeselectControl();
            }
            StackControl = null;
        }
コード例 #2
0
        public void OnLostFocus(object sender, EventArgs e)
        {
            Keyboard.ClearFocus();
            SimpleFigures obj = sender as SimpleFigures;

            if (obj != null)
            {
                obj.Focusable = false;
                obj.DeselectControl();
            }
            StackControl = null;
        }