private void btDynamicFilters_Click(object sender, EventArgs e) { try { RealTimeFilter enhan = new RealTimeFilter(); enhan.MdiParent = this; enhan.Show(); } catch (Exception ex) { MessageBox.Show(ex.GetType().FullName, ex.Message); } }
private void openEnhancedImageFormToolStripMenuItem_Click(object sender, EventArgs e) { try { RealTimeFilter imForm = new RealTimeFilter(pictureBoxImage.Image); imForm.MdiParent = MdiParent; imForm.Show(); } catch (Exception ex) { MessageBox.Show(ex.GetType().FullName, ex.Message); } }
private void cloneToolStripMenuItem_Click(object sender, EventArgs e) { try { RealTimeFilter enh = new RealTimeFilter(pictureFilteredImage.Image); enh.pictureFilteredImage.SizeMode = pictureFilteredImage.SizeMode; enh.MdiParent = MdiParent; enh.Show(); } catch (Exception ex) { MessageBox.Show(ex.GetType().FullName, ex.Message); } }