private void ButtonCaptureClick(object sender, EventArgs e)
{
Editor.MainInstance.Visible = false;
Visible = false;
Thread.Sleep(500);
using (var captureForm = new CaptureForm())
{
captureForm.TakeSnapShot();
captureForm.ShowDialog();
this.Color = captureForm.CaptureColor;
this.SetRGBLabels(this._argb);
this.SetHSVLabels(this._hsv);
this.SetRGB(this._argb);
this.SetHSV(this._hsv);
}
Editor.MainInstance.Visible = true;
Visible = true;
}