|
IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Summary description for Form1. More...
Inheritance diagram for IPLab.MainForm:
Collaboration diagram for IPLab.MainForm:Public Member Functions | |
| bool | NewDocument (Bitmap image) |
| bool | NewDocument (ComplexImage image) |
| Bitmap | GetImage (object sender, String text, Size size, PixelFormat format) |
Protected Types | |
| enum | AutoOpenMode { AutoOpenMode.None, AutoOpenMode.Clipboard, AutoOpenMode.File } |
| Specifies the action the application performs upon starting. More... | |
Protected Member Functions | |
| MainForm (AutoOpenMode autoOpenMode, string autoOpenParam) | |
| override void | Dispose (bool disposing) |
| Clean up any resources being used. More... | |
Properties | |
| bool | CreateNewDocumentOnChange [get] |
| bool | RememberOnChange [get] |
Properties inherited from IPLab.IDocumentsHost | |
| bool | CreateNewDocumentOnChange [get] |
| bool | RememberOnChange [get] |
Private Member Functions | |
| void | MainForm_Closing (object sender, System.ComponentModel.CancelEventArgs e) |
| void | MainForm_Load (object sender, System.EventArgs e) |
| Content | GetContentFromPersistString (string persistString) |
| void | mainToolBar_ButtonClick (object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e) |
| void | dockManager_ActiveDocumentChanged (object sender, System.EventArgs e) |
| void | About () |
| void | aboutHelpItem_Click (object sender, System.EventArgs e) |
| void | fileItem_Popup (object sender, System.EventArgs e) |
| void | exitFileItem_Click (object sender, System.EventArgs e) |
| void | SetupDocumentEvents (ImageDoc doc) |
| void | OpenFile () |
| void | OpenFile (string fileName) |
| void | ShowHistogram (bool show) |
| void | ShowStatistics (bool show) |
| void | OpenItem_Click (object sender, System.EventArgs e) |
| void | reloadFileItem_Click (object sender, System.EventArgs e) |
| void | SaveFile () |
| string | CreateCppImageClass (Bitmap image, string className) |
| void | saveFileItem_Click (object sender, System.EventArgs e) |
| void | CopyToClipboard () |
| void | copyFileItem_Click (object sender, System.EventArgs e) |
| void | PasteFromClipboard () |
| void | pasteFileItem_Click (object sender, System.EventArgs e) |
| void | closeFileItem_Click (object sender, System.EventArgs e) |
| void | closeAllFileItem_Click (object sender, System.EventArgs e) |
| void | pageSetupFileItem_Click (object sender, System.EventArgs e) |
| void | printFileItem_Click (object sender, System.EventArgs e) |
| void | printPreviewFileItem_Click (object sender, System.EventArgs e) |
| void | optionsItem_Popup (object sender, System.EventArgs e) |
| void | openInNewOptionsItem_Click (object sender, System.EventArgs e) |
| void | rememberOptionsItem_Click (object sender, System.EventArgs e) |
| void | viewItem_Popup (object sender, System.EventArgs e) |
| void | histogramViewItem_Click (object sender, System.EventArgs e) |
| void | statisticsViewItem_Click (object sender, System.EventArgs e) |
| void | histogram_VisibleChanged (object sender, System.EventArgs e) |
| void | statistics_VisibleChanged (object sender, System.EventArgs e) |
| void | centerViewItem_Click (object sender, System.EventArgs e) |
| void | redHistogramViewItem_Click (object sender, System.EventArgs e) |
| void | greenHistogramViewItem_Click (object sender, System.EventArgs e) |
| void | blueHistogramViewItem_Click (object sender, System.EventArgs e) |
| void | document_DocumentChanged (object sender, System.EventArgs e) |
| void | document_ZoomChanged (object sender, System.EventArgs e) |
| void | document_MouseImagePosition (object sender, SelectionEventArgs e) |
| void | document_SelectionChanged (object sender, SelectionEventArgs e) |
| void | UpdateHistogram (ImageDoc imgDoc) |
| void | UpdateStatistics (ImageDoc imgDoc) |
| void | UpdateSizeStatus (Content doc) |
| void | UpdateZoomStatus (ImageDoc imgDoc) |
| void | imageToolBar_ButtonClick (object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e) |
| void | mainBarViewItem_Click (object sender, System.EventArgs e) |
| void | imageBarViewItem_Click (object sender, System.EventArgs e) |
| void | histogram_DockStateChanged (object sender, System.EventArgs e) |
| void | statistics_DockStateChanged (object sender, System.EventArgs e) |
| void | printDocument_PrintPage (object sender, System.Drawing.Printing.PrintPageEventArgs e) |
| void | dockManager_DragEnter (object sender, DragEventArgs e) |
| void | dockManager_DragDrop (object sender, DragEventArgs e) |
| void | InitializeComponent () |
| Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
Static Private Member Functions | |
| static void | Main (string[] args) |
| The main entry point for the application. More... | |
Private Attributes | |
| int | unNamedNumber = 0 |
| Configuration | config = new Configuration() |
| HistogramWindow | histogramWin = new HistogramWindow() |
| ImageStatisticsWindow | statisticsWin = new ImageStatisticsWindow() |
| ToolBarManager | toolBarManager |
| AutoOpenMode | autoOpenMode |
| string | autoOpenParam |
| System.ComponentModel.IContainer | components |
| WeifenLuo.WinFormsUI.DockManager | dockManager |
| System.Windows.Forms.MainMenu | mainMenu |
| System.Windows.Forms.MenuItem | fileItem |
| System.Windows.Forms.MenuItem | exitFileItem |
| System.Windows.Forms.MenuItem | OpenItem |
| System.Windows.Forms.MenuItem | menuItem2 |
| System.Windows.Forms.MenuItem | closeFileItem |
| System.Windows.Forms.MenuItem | closeAllFileItem |
| System.Windows.Forms.MenuItem | optionsItem |
| System.Windows.Forms.MenuItem | openInNewOptionsItem |
| System.Windows.Forms.MenuItem | viewItem |
| System.Windows.Forms.MenuItem | windowItem |
| System.Windows.Forms.MenuItem | helpItem |
| System.Windows.Forms.MenuItem | histogramViewItem |
| System.Windows.Forms.MenuItem | redHistogramViewItem |
| System.Windows.Forms.MenuItem | greenHistogramViewItem |
| System.Windows.Forms.MenuItem | blueHistogramViewItem |
| System.Windows.Forms.StatusBarPanel | zoomPanel |
| System.Windows.Forms.StatusBarPanel | sizePanel |
| System.Windows.Forms.StatusBarPanel | infoPanel |
| System.Windows.Forms.Panel | panel1 |
| System.Windows.Forms.StatusBar | statusBar |
| System.Windows.Forms.MenuItem | rememberOptionsItem |
| System.Windows.Forms.MenuItem | menuItem1 |
| System.Windows.Forms.MenuItem | reloadFileItem |
| System.Windows.Forms.MenuItem | menuItem3 |
| System.Windows.Forms.MenuItem | centerViewItem |
| System.Windows.Forms.StatusBarPanel | selectionPanel |
| System.Windows.Forms.OpenFileDialog | ofd |
| System.Windows.Forms.StatusBarPanel | colorPanel |
| System.Windows.Forms.ImageList | imageList |
| System.Windows.Forms.ToolBar | mainToolBar |
| System.Windows.Forms.ToolBarButton | openButton |
| System.Windows.Forms.ToolBarButton | sep1 |
| System.Windows.Forms.ToolBarButton | histogramButton |
| System.Windows.Forms.ToolBar | imageToolBar |
| System.Windows.Forms.ImageList | imageList2 |
| System.Windows.Forms.ToolBarButton | cloneButton |
| System.Windows.Forms.ToolBarButton | cropButton |
| System.Windows.Forms.ToolBarButton | toolBarButton1 |
| System.Windows.Forms.ToolBarButton | toolBarButton2 |
| System.Windows.Forms.ToolBarButton | zoomInButton |
| System.Windows.Forms.ToolBarButton | zoomOutButton |
| System.Windows.Forms.ToolBarButton | toolBarButton3 |
| System.Windows.Forms.ToolBarButton | fitToScreenButton |
| System.Windows.Forms.ToolBarButton | toolBarButton4 |
| System.Windows.Forms.ToolBarButton | aboutButton |
| System.Windows.Forms.ToolBarButton | toolBarButton5 |
| System.Windows.Forms.ToolBarButton | levelsButton |
| System.Windows.Forms.ToolBarButton | grayscaleButton |
| System.Windows.Forms.ToolBarButton | thresholdButton |
| System.Windows.Forms.ToolBarButton | toolBarButton6 |
| System.Windows.Forms.ToolBarButton | morphologyButton |
| System.Windows.Forms.ToolBarButton | convolutionButton |
| System.Windows.Forms.MenuItem | mainBarViewItem |
| System.Windows.Forms.MenuItem | imageBarViewItem |
| System.Windows.Forms.MenuItem | menuItem7 |
| System.Windows.Forms.ToolBarButton | resizeButton |
| System.Windows.Forms.ToolBarButton | toolBarButton7 |
| System.Windows.Forms.ToolBarButton | rotateButton |
| System.Windows.Forms.StatusBarPanel | hslPanel |
| System.Windows.Forms.ToolBarButton | toolBarButton8 |
| System.Windows.Forms.ToolBarButton | saturationButton |
| System.Windows.Forms.ToolBarButton | fourierButton |
| System.Windows.Forms.MenuItem | copyFileItem |
| System.Windows.Forms.MenuItem | pasteFileItem |
| System.Windows.Forms.MenuItem | menuItem5 |
| System.Windows.Forms.MenuItem | saveFileItem |
| System.Windows.Forms.MenuItem | aboutHelpItem |
| System.Windows.Forms.SaveFileDialog | sfd |
| System.Windows.Forms.ToolBarButton | pasteButton |
| System.Windows.Forms.ToolBarButton | saveButton |
| System.Windows.Forms.ToolBarButton | copyButton |
| System.Windows.Forms.ToolBarButton | toolBarButton9 |
| System.Drawing.Printing.PrintDocument | printDocument |
| System.Windows.Forms.PrintPreviewDialog | printPreviewDialog |
| System.Windows.Forms.MenuItem | printPreviewFileItem |
| System.Windows.Forms.MenuItem | pageSetupFileItem |
| System.Windows.Forms.MenuItem | printFileItem |
| System.Windows.Forms.MenuItem | menuItem8 |
| System.Windows.Forms.PageSetupDialog | pageSetupDialog |
| System.Windows.Forms.PrintDialog | printDialog |
| System.Windows.Forms.StatusBarPanel | ycbcrPanel |
| System.Windows.Forms.MenuItem | statisticsViewItem |
Static Private Attributes | |
| static string | configFile = Path.Combine( System.Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData ), @"IPLab\settings.config" ) |
| static string | dockManagerConfigFile = Path.Combine( System.Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData ), @"IPLab\DockManager.config" ) |
Summary description for Form1.
|
protected |
|
inlineprotected |
References IPLab.MainForm.autoOpenMode, IPLab.MainForm.autoOpenParam, IPLab.MainForm.dockManager, IPLab.MainForm.dockManager_DragDrop(), IPLab.MainForm.dockManager_DragEnter(), IPLab.MainForm.histogram_DockStateChanged(), IPLab.MainForm.histogram_VisibleChanged(), IPLab.MainForm.imageToolBar, IPLab.MainForm.InitializeComponent(), IPLab.MainForm.mainToolBar, IPLab.MainForm.statistics_DockStateChanged(), and IPLab.MainForm.statistics_VisibleChanged().
Referenced by IPLab.MainForm.Main().
|
inlinestaticprivate |
The main entry point for the application.
References IPLab.MainForm.File, and IPLab.MainForm.MainForm().
|
inline |
Implements IPLab.IDocumentsHost.
References IPLab.MainForm.dockManager, and IPLab.MainForm.SetupDocumentEvents().
|
inline |
Implements IPLab.IDocumentsHost.
References IPLab.MainForm.dockManager.
|
inline |
|
inlineprivate |
|
inlineprivate |
References IPLab.MainForm.dockManager, IPLab.MainForm.File, IPLab.MainForm.GetContentFromPersistString(), IPLab.Configuration.histogramVisible, IPLab.Configuration.Load(), IPLab.Configuration.mainWindowLocation, IPLab.Configuration.mainWindowSize, IPLab.MainForm.OpenFile(), IPLab.MainForm.PasteFromClipboard(), and IPLab.MainForm.ShowHistogram().
|
inlineprivate |
References IPLab.MainForm.histogramWin, and IPLab.MainForm.statisticsWin.
Referenced by IPLab.MainForm.MainForm_Load().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Referenced by IPLab.MainForm.aboutHelpItem_Click(), and IPLab.MainForm.mainToolBar_ButtonClick().
|
inlineprivate |
References IPLab.MainForm.About().
|
inlineprivate |
References IPLab.MainForm.Clipboard, IPLab.MainForm.closeAllFileItem, IPLab.MainForm.closeFileItem, IPLab.MainForm.copyFileItem, IPLab.MainForm.dockManager, IPLab.MainForm.pasteFileItem, IPLab.MainForm.printFileItem, IPLab.MainForm.printPreviewFileItem, IPLab.MainForm.reloadFileItem, and IPLab.MainForm.saveFileItem.
|
inlineprivate |
|
inlineprivate |
References IPLab.MainForm.document_DocumentChanged(), IPLab.MainForm.document_MouseImagePosition(), IPLab.MainForm.document_SelectionChanged(), IPLab.MainForm.document_ZoomChanged(), IPLab.ImageDoc.DocumentChanged, IPLab.ImageDoc.MouseImagePosition, IPLab.ImageDoc.SelectionChanged, IPLab.ImageDoc.SelectionEventHandler(), and IPLab.ImageDoc.ZoomChanged.
Referenced by IPLab.MainForm.NewDocument(), IPLab.MainForm.OpenFile(), and IPLab.MainForm.PasteFromClipboard().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References IPLab.MainForm.dockManager, IPLab.MainForm.statisticsViewItem, and IPLab.Configuration.statisticsVisible.
Referenced by IPLab.MainForm.statisticsViewItem_Click().
|
inlineprivate |
References IPLab.MainForm.OpenFile().
|
inlineprivate |
References IPLab.MainForm.dockManager.
|
inlineprivate |
|
inlineprivate |
Referenced by IPLab.MainForm.SaveFile().
|
inlineprivate |
References IPLab.MainForm.SaveFile().
|
inlineprivate |
References IPLab.MainForm.Clipboard, and IPLab.MainForm.dockManager.
Referenced by IPLab.MainForm.copyFileItem_Click(), and IPLab.MainForm.mainToolBar_ButtonClick().
|
inlineprivate |
References IPLab.MainForm.CopyToClipboard().
|
inlineprivate |
|
inlineprivate |
References IPLab.MainForm.PasteFromClipboard().
|
inlineprivate |
References IPLab.MainForm.dockManager.
|
inlineprivate |
References IPLab.MainForm.dockManager.
|
inlineprivate |
References IPLab.MainForm.pageSetupDialog, and IPLab.MainForm.printDocument.
|
inlineprivate |
References IPLab.MainForm.dockManager, IPLab.MainForm.printDialog, and IPLab.MainForm.printDocument.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References IPLab.Configuration.openInNewDoc.
|
inlineprivate |
References IPLab.Configuration.rememberOnChange.
|
inlineprivate |
|
inlineprivate |
References IPLab.Configuration.histogramVisible, and IPLab.MainForm.ShowHistogram().
|
inlineprivate |
References IPLab.MainForm.ShowStatistics(), and IPLab.Configuration.statisticsVisible.
|
inlineprivate |
References IPLab.MainForm.dockManager, and IPLab.HistogramWindow.GatherStatistics().
Referenced by IPLab.MainForm.MainForm().
|
inlineprivate |
References IPLab.MainForm.dockManager, and IPLab.ImageStatisticsWindow.GatherStatistics().
Referenced by IPLab.MainForm.MainForm().
|
inlineprivate |
References IPLab.MainForm.dockManager.
|
inlineprivate |
References IPLab.HistogramWindow.SwitchChannel().
|
inlineprivate |
References IPLab.HistogramWindow.SwitchChannel().
|
inlineprivate |
References IPLab.HistogramWindow.SwitchChannel().
|
inlineprivate |
References IPLab.MainForm.UpdateHistogram(), IPLab.MainForm.UpdateSizeStatus(), and IPLab.MainForm.UpdateStatistics().
Referenced by IPLab.MainForm.SetupDocumentEvents().
|
inlineprivate |
References IPLab.MainForm.UpdateZoomStatus().
Referenced by IPLab.MainForm.SetupDocumentEvents().
|
inlineprivate |
|
inlineprivate |
References IPLab.SelectionEventArgs.Location, IPLab.MainForm.selectionPanel, and IPLab.SelectionEventArgs.Size.
Referenced by IPLab.MainForm.SetupDocumentEvents().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References IPLab.MainForm.sizePanel.
Referenced by IPLab.MainForm.dockManager_ActiveDocumentChanged(), and IPLab.MainForm.document_DocumentChanged().
|
inlineprivate |
References IPLab.ImageDoc.Zoom, and IPLab.MainForm.zoomPanel.
Referenced by IPLab.MainForm.dockManager_ActiveDocumentChanged(), and IPLab.MainForm.document_ZoomChanged().
|
inlineprivate |
References IPLab.MainForm.dockManager.
|
inlineprivate |
References IPLab.MainForm.mainToolBar.
|
inlineprivate |
References IPLab.MainForm.imageToolBar.
|
inlineprivate |
References IPLab.MainForm.histogramButton, IPLab.MainForm.histogramViewItem, and IPLab.Configuration.histogramVisible.
Referenced by IPLab.MainForm.MainForm().
|
inlineprivate |
References IPLab.MainForm.statisticsViewItem, and IPLab.Configuration.statisticsVisible.
Referenced by IPLab.MainForm.MainForm().
|
inlineprivate |
References IPLab.MainForm.dockManager.
|
inlineprivate |
Referenced by IPLab.MainForm.MainForm().
|
inlineprivate |
References IPLab.MainForm.OpenFile().
Referenced by IPLab.MainForm.MainForm().
|
inlineprotected |
Clean up any resources being used.
References IPLab.MainForm.components.
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
Referenced by IPLab.MainForm.MainForm().
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
Referenced by IPLab.MainForm.GetContentFromPersistString().
|
private |
Referenced by IPLab.MainForm.GetContentFromPersistString().
|
private |
|
private |
Referenced by IPLab.MainForm.MainForm().
|
private |
Referenced by IPLab.MainForm.MainForm().
|
private |
Referenced by IPLab.MainForm.Dispose().
|
private |
Referenced by IPLab.MainForm.centerViewItem_Click(), IPLab.MainForm.closeAllFileItem_Click(), IPLab.MainForm.closeFileItem_Click(), IPLab.MainForm.CopyToClipboard(), IPLab.MainForm.dockManager_ActiveDocumentChanged(), IPLab.MainForm.fileItem_Popup(), IPLab.MainForm.GetImage(), IPLab.MainForm.histogram_VisibleChanged(), IPLab.MainForm.imageToolBar_ButtonClick(), IPLab.MainForm.MainForm(), IPLab.MainForm.MainForm_Closing(), IPLab.MainForm.MainForm_Load(), IPLab.MainForm.NewDocument(), IPLab.MainForm.OpenFile(), IPLab.MainForm.PasteFromClipboard(), IPLab.MainForm.printDocument_PrintPage(), IPLab.MainForm.printFileItem_Click(), IPLab.MainForm.printPreviewFileItem_Click(), IPLab.MainForm.reloadFileItem_Click(), IPLab.MainForm.SaveFile(), IPLab.MainForm.ShowHistogram(), IPLab.MainForm.ShowStatistics(), IPLab.MainForm.statistics_VisibleChanged(), and IPLab.MainForm.viewItem_Popup().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by IPLab.MainForm.fileItem_Popup().
|
private |
Referenced by IPLab.MainForm.fileItem_Popup().
|
private |
|
private |
Referenced by IPLab.MainForm.optionsItem_Popup().
|
private |
|
private |
|
private |
|
private |
Referenced by IPLab.MainForm.histogram_DockStateChanged(), and IPLab.MainForm.ShowHistogram().
|
private |
|
private |
|
private |
|
private |
Referenced by IPLab.MainForm.UpdateZoomStatus().
|
private |
Referenced by IPLab.MainForm.UpdateSizeStatus().
|
private |
|
private |
|
private |
|
private |
Referenced by IPLab.MainForm.optionsItem_Popup().
|
private |
|
private |
Referenced by IPLab.MainForm.fileItem_Popup().
|
private |
|
private |
Referenced by IPLab.MainForm.viewItem_Popup().
|
private |
|
private |
Referenced by IPLab.MainForm.OpenFile().
|
private |
Referenced by IPLab.MainForm.document_MouseImagePosition().
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by IPLab.MainForm.histogram_DockStateChanged(), and IPLab.MainForm.ShowHistogram().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by IPLab.MainForm.viewItem_Popup().
|
private |
Referenced by IPLab.MainForm.viewItem_Popup().
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by IPLab.MainForm.document_MouseImagePosition().
|
private |
|
private |
|
private |
|
private |
Referenced by IPLab.MainForm.fileItem_Popup().
|
private |
Referenced by IPLab.MainForm.fileItem_Popup().
|
private |
|
private |
Referenced by IPLab.MainForm.fileItem_Popup().
|
private |
|
private |
Referenced by IPLab.MainForm.SaveFile().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by IPLab.MainForm.printPreviewFileItem_Click().
|
private |
Referenced by IPLab.MainForm.fileItem_Popup().
|
private |
|
private |
Referenced by IPLab.MainForm.fileItem_Popup().
|
private |
|
private |
Referenced by IPLab.MainForm.pageSetupFileItem_Click().
|
private |
Referenced by IPLab.MainForm.printFileItem_Click().
|
private |
Referenced by IPLab.MainForm.document_MouseImagePosition().
|
private |
Referenced by IPLab.MainForm.ShowStatistics(), and IPLab.MainForm.statistics_DockStateChanged().
|
get |
|
get |