private void resizeFiltersItem_Click(object sender, EventArgs e) { ResizeForm form = new ResizeForm(); form.OriginalSize = new Size(width, height); if (form.ShowDialog() == DialogResult.OK) { ApplyFilter(form.Filter); } }
// Resize the image private void ResizeImage( ) { ResizeForm form = new ResizeForm( ); form.OriginalSize = new Size( width, height ); if ( form.ShowDialog( ) == DialogResult.OK ) { ApplyFilter( form.Filter ); } }
// Resize the image private void ResizeImage( ) { ResizeForm form = new ResizeForm( ); form.OriginalSize = new Size( width, height ); if ( form.ShowDialog( ) == DialogResult.OK ) { logger.StoreMessage("Resized image"); ApplyFilter( form.Filter ); } }