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); } }
private void OnFormDeactivate(object sender, EventArgs e) { // TODO: Figure out better rect _formActive = false; ActionPanel.Invalidate(); }