private void makeGrayscaleAndResizingToolStripMenuItem_Click(object sender, EventArgs e) { if (FBD.ShowDialog() == DialogResult.OK) { ImageFunctions.ConvertImage(FBD.SelectedPath, @"E:\Output"); } }
private void makeGrayscaleAndResizingToolStripMenuItem_Click(object sender, EventArgs e) { FBD = new FolderBrowserDialog(); if (FBD.ShowDialog() == DialogResult.OK) { DirectoryInfo myFolder = new DirectoryInfo(FBD.SelectedPath); ImageFunctions.ConvertImage(FBD.SelectedPath, @"E:\Output"); } }