IGLib
1.5
The IGLib base library for development of numerical, technical and business applications.
|
Public Member Functions | |
BrowserSimpleControl () | |
virtual void | OpenLocation (string location) |
Public Attributes | |
const string | DefaultHomeUrl = Util.IGLibUrl |
const string | DefaultSearchUrl = "http://www.google.com" |
const string | DefaultFileToOpen = "d:/users/igor/0000/tmp/index.html" |
Protected Member Functions | |
virtual void | FetchBrowserInitialPosition () |
Obtains browser y position and height of the panel containing controls. More... | |
virtual void | SetBrowserPositionOriginal () |
Sets the browser y position within the form to its original position. More... | |
virtual void | SetBrowserPositionWithoutControls () |
Sets browser y position for the situation where browser controls are not visible. More... | |
void | ReportError (Exception ex) |
Reports the error that occurred in the current window control. More... | |
void | ReportError (string errorMessage) |
Reports the error that occurred in the current window control. More... | |
override void | Dispose (bool disposing) |
Clean up any resources being used. More... | |
Protected Attributes | |
string | _homeUrl = DefaultHomeUrl |
string | _searchUrl = DefaultSearchUrl |
string | _fileToOpen |
Properties | |
object | Lock [get] |
This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock. More... | |
string | HomeUrl [get, set] |
Home page Url. More... | |
string | SearchUrl [get, set] |
Home page Url. More... | |
string | FileToOpen [get, set] |
File to be opened in the file open dialog box. More... | |
Private Member Functions | |
void | UpdateUrlToAdressBar () |
Sets browser URL to the text from the address bar. More... | |
void | UpdateUrl (string urlString) |
Sets browser URL to the specified text. More... | |
void | txtAddressBar_Leave (object sender, EventArgs e) |
void | buttonHome_Click (object sender, EventArgs e) |
void | buttonBack_Click (object sender, EventArgs e) |
void | buttonForward_Click (object sender, EventArgs e) |
void | buttonRefresh_Click (object sender, EventArgs e) |
void | txtAddressBar_KeyPress (object sender, KeyPressEventArgs e) |
void | buttonSubmit_Click (object sender, EventArgs e) |
void | buttonStop_Click (object sender, EventArgs e) |
void | webBrowser_DocumentCompleted (object sender, WebBrowserDocumentCompletedEventArgs e) |
void | webBrowser_Navigating (object sender, WebBrowserNavigatingEventArgs e) |
void | webBrowser_CanGoBackChanged (object sender, EventArgs e) |
void | webBrowser_CanGoForwardChanged (object sender, EventArgs e) |
void | HideTopPanel () |
void | ShowTopPanel () |
void | TopPnlHideBtn_Click (object sender, EventArgs e) |
void | MenuTools_Controls_CheckStateChanged (object sender, EventArgs e) |
void | BrowserSimpleControl_VisibleChanged (object sender, EventArgs e) |
void | MenuFile_OpenURL_Click (object sender, EventArgs e) |
void | homeToolStripMenuItem_Click (object sender, EventArgs e) |
void | googleToolStripMenuItem_Click (object sender, EventArgs e) |
void | otherToolStripMenuItem_Click (object sender, EventArgs e) |
void | MenuFile_Open_Click (object sender, EventArgs e) |
void | printPreviewToolStripMenuItem_Click (object sender, EventArgs e) |
void | printToolStripMenuItem_Click (object sender, EventArgs e) |
void | MenuFile_Close_Click (object sender, EventArgs e) |
void | MenuFile_CloseDocument_Click (object sender, EventArgs e) |
void | MenuHelp_About_Click (object sender, EventArgs e) |
void | InitializeComponent () |
Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
Private Attributes | |
object | _mainLock = new object() |
bool | _browserPositionRemembered = false |
int | _browserYInitialPosition = 0 |
int | _controlPanelHeigt = 0 |
int | _statusStripHeight = 0 |
System.ComponentModel.IContainer | components = null |
Required designer variable. More... | |
System.Windows.Forms.StatusStrip | statusStrip1 |
System.Windows.Forms.ToolStripStatusLabel | StatusType |
System.Windows.Forms.ToolStripStatusLabel | StatusPath |
System.Windows.Forms.ToolStripStatusLabel | StatusError |
System.Windows.Forms.ToolStripStatusLabel | StatusStatus |
System.Windows.Forms.MenuStrip | menuStrip |
System.Windows.Forms.ToolStripMenuItem | MenuFile |
System.Windows.Forms.ToolStripMenuItem | MenuFile_OpenURL |
System.Windows.Forms.ToolStripMenuItem | MenuFile_Open |
System.Windows.Forms.ToolStripMenuItem | printPreviewToolStripMenuItem |
System.Windows.Forms.ToolStripMenuItem | printToolStripMenuItem |
System.Windows.Forms.ToolStripMenuItem | MenuFile_Close |
System.Windows.Forms.ToolStripMenuItem | MenuFile_CloseDocument |
System.Windows.Forms.ToolStripMenuItem | MenuTools |
System.Windows.Forms.ToolStripMenuItem | MenuTools_Controls |
System.Windows.Forms.ToolStripSeparator | toolStripSeparator5 |
System.Windows.Forms.ToolStripMenuItem | MenuTools_Stop |
System.Windows.Forms.ToolStripMenuItem | MenuGelp |
System.Windows.Forms.ToolStripMenuItem | MenuHelp_About |
System.Windows.Forms.WebBrowser | browser |
System.Windows.Forms.Panel | ControlPnl |
System.Windows.Forms.Button | buttonBack |
System.Windows.Forms.Button | buttonForward |
System.Windows.Forms.Button | TopPnlHideBtn |
System.Windows.Forms.Button | buttonSubmit |
System.Windows.Forms.TextBox | txtAddressBar |
System.Windows.Forms.Button | buttonRefresh |
System.Windows.Forms.Button | buttonStop |
System.Windows.Forms.Button | buttonHome |
System.Windows.Forms.Panel | pnlOuter |
System.Windows.Forms.ToolStripMenuItem | homeToolStripMenuItem |
System.Windows.Forms.ToolStripMenuItem | googleToolStripMenuItem |
System.Windows.Forms.ToolStripMenuItem | otherToolStripMenuItem |
System.Windows.Forms.OpenFileDialog | openFileDialog |
System.Windows.Forms.ToolStripSeparator | toolStripSeparator1 |
System.Windows.Forms.ToolStripSeparator | toolStripSeparator2 |
|
inline |
|
inlineprotectedvirtual |
Obtains browser y position and height of the panel containing controls.
|
inlineprotectedvirtual |
Sets the browser y position within the form to its original position.
|
inlineprotectedvirtual |
Sets browser y position for the situation where browser controls are not visible.
|
inlinevirtual |
|
inlineprotected |
Reports the error that occurred in the current window control.
ex | Exception that was thrown because of the error. |
|
inlineprotected |
Reports the error that occurred in the current window control.
errorMessage | Error message that describes the error. |
|
inlineprivate |
Sets browser URL to the text from the address bar.
|
inlineprivate |
Sets browser URL to the specified text.
urlString | String representing the url to which address must be changed. |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References IG.Lib.Util.IGLibUrl.
|
inlineprotected |
Clean up any resources being used.
disposing | true if managed resources should be disposed; otherwise, false. |
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
private |
|
private |
|
private |
|
private |
|
private |
const string IG.Forms.BrowserSimpleControl.DefaultHomeUrl = Util.IGLibUrl |
|
protected |
const string IG.Forms.BrowserSimpleControl.DefaultSearchUrl = "http://www.google.com" |
|
protected |
const string IG.Forms.BrowserSimpleControl.DefaultFileToOpen = "d:/users/igor/0000/tmp/index.html" |
|
protected |
|
private |
Required designer variable.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
get |
This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock.
|
getset |
Home page Url.
|
getset |
Home page Url.
|
getset |
File to be opened in the file open dialog box.
Used for setting initial directory for the dialog box. Each time this property is reset to the last file path picked from the dialog box.