private void ApplyButton_Click(object sender, EventArgs e) { NeighborhoodOperationsWindow windows = new NeighborhoodOperationsWindow((Bitmap)PosterizeWindowPicture.Image, copy); windows.Show(); this.Close(); }
private void neighborhoodOperationsToolStripMenuItem_Click(object sender, EventArgs e) { Image <Bgra, byte> image = picture.ToImage <Bgra, byte>(); NeighborhoodOperationsWindow operationsForm = new NeighborhoodOperationsWindow(image); operationsForm.Show(); this.Close(); }
private void neighborhoodOperationsToolStripMenuItem_Click(object sender, EventArgs e) { NeighborhoodOperationsWindow window = new NeighborhoodOperationsWindow(); window.Show(); }