C# Class NetIde.Services.Shell.TaskDialog.EmulateTaskDialog

Tries to emulate the Task Dialog. Form will be called when the call to Task Dialog is not supported.
Inheritance: NetIde.Util.Forms.Form
Mostra file Open project: netide/netide Class Usage Examples

Public Properties

Property Type Description
LargeThemedFont System.Drawing.Font
ThemedFont System.Drawing.Font

Public Methods

Method Description
EmulateTaskDialog ( TaskDialog newTaskDialog ) : System
ToString ( ) : string

This will return the formatted contents of the form. Useful when the user press "ctrl + c" on the form.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BuildControlButton ( int tag, string text ) : Button
BuildControlLinkLabel ( Padding margin, string text ) : System.Windows.Forms.LinkLabel
BuildForm ( ) : void

Main entry method to build the form.

BuildFormFooterArea ( ) : void
BuildFormMainArea ( ) : void
BuildFormSubArea ( ) : void
CloseForm ( ) : void

Closes the form and populate the necessary return results.

CreateFont ( bool large ) : Font
EmulateTaskDialog_KeyDown ( object sender, KeyEventArgs e ) : void

Detect user pressing "ctrl + c".

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ParseLinkLabel ( System linkLabel ) : System.Windows.Forms.LinkLabel

Parses a LinkLabel text and extract out all the anchor (a) tags. Then it will parse all the anchor tags and create the relevant links in the text.

SetFormHeight ( ) : void
ToggleExpandedInformationState ( ) : void
WndProc ( System &m ) : void
button_Click ( object sender, EventArgs e ) : void
expandedInfoButton_Click ( object sender, EventArgs e ) : void
linkLabel_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
timer_Tick ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

EmulateTaskDialog() public method

public EmulateTaskDialog ( TaskDialog newTaskDialog ) : System
newTaskDialog TaskDialog
return System

ToString() public method

This will return the formatted contents of the form. Useful when the user press "ctrl + c" on the form.
public ToString ( ) : string
return string

Property Details

LargeThemedFont public_oe static_oe property

public static Font,System.Drawing LargeThemedFont
return System.Drawing.Font

ThemedFont public_oe static_oe property

public static Font,System.Drawing ThemedFont
return System.Drawing.Font