private void menuItem_Effects_Solarize_Click(object sender, EventArgs e) { using (var window = new ThresholdWindow(this.imageComponent.ImageWrapper, new FilterSolarize())) { window.ShowDialog(this); } }
private void menuItem_Colors_BlackWhite_Click(object sender, EventArgs e) { using (var window = new ThresholdWindow(this.imageComponent.ImageWrapper, new FilterBlackWhite())) { window.ShowDialog(this); } }
private void menuItem_Styles_Pencil_Click(object sender, EventArgs e) { using (var window = new ThresholdWindow(this.imageComponent.ImageWrapper, new FilterPencil())) { window.ShowDialog(this); } }
private void menuItem_Image_Gamma_Click(object sender, EventArgs e) { var window = new ThresholdWindow(this.imageComponent.ImageWrapper, new FilterGamma()); window.ShowDialog(this); }