Beispiel #1
0
 /// <summary>
 /// User interface for changing the red/green/blue channels individually for an image
 /// </summary>
 /// <param name="mPF">The Image_Editor_Main that spawned the dialog</param>
 /// <param name="pF">The ColorRGBDialog that spawned this control</param>
 public ColorRGBControl(Image_Editor_Main mPF, ColorRGBDialog pF)
 {
     mainParentForm = mPF;
     parentForm     = pF;
     InitializeComponent();
     originalBitmapCount = mainParentForm.CurrentBitmap;
 }
Beispiel #2
0
 /// <summary>
 /// Dialog window that builds a user control for a specific manipulation
 /// Pass in a reference to the form that spawns it and a string with the
 /// name of the control required.
 /// </summary>
 /// <param name="pf">Current Form</param>
 /// <param name="tOC">Accepted Values "ColorRGB", "ColorBSL", "CustomGrey", "CustomMatrix"</param>
 public ColorRGBDialog(Image_Editor_Main pf, String tOC)
 {
     parentForm    = pf;
     typeOfControl = tOC;
     InitializeComponent();
     InitControl();
 }