示例#1
0
 private void OnFormActivated(object sender, EventArgs e)
 {
     // TODO: Figure out better rect
     _formActive = true;
     ActionPanel.Invalidate();
     //ActionPanel.Invalidate(new Rectangle(EditRegionLocation, EditRegionSize), false);
 }
            protected override void OnValueChanged()
            {
                base.OnValueChanged();

                _swatch = null;
                if (_hasSwatch)
                {
                    ActionPanel.Invalidate(new Rectangle(EditRegionLocation, EditRegionSize), false);
                }
            }
示例#3
0
 private void OnFormDeactivate(object sender, EventArgs e)
 {
     // TODO: Figure out better rect
     _formActive = false;
     ActionPanel.Invalidate();
 }