C# Class PathEditor.MainForm

显示文件 Open project: Syntox32/PathEditor

Private Properties

Property Type Description
AddNewVar bool
ApplyPrompt void
AutoBackup bool
ConstructPathFromList string
CreateBackup void
GetBackupName string
GetPathVariable List
InitListView void
InitializeComponent void
InvalidatePaths void
LoadBackup void
LoadMain void
RefreshList void
SetPathVariable void
ToggleContext void
btnAdd_Click void
btnApply_Click void
btnBrowse_Click void
menuItemAutoBackup_Click void
menuItemBackup_Click void
menuItemHelp_Click void
menuItemInvalidate_Click void
menuItemLoad_Click void
menuItemSwitch_Click void

Public Methods

Method Description
MainForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddNewVar ( string text ) : bool
ApplyPrompt ( ) : void
AutoBackup ( Context ctx ) : bool
ConstructPathFromList ( ) : string
CreateBackup ( Context ctx, string filename ) : void
GetBackupName ( ) : string
GetPathVariable ( Context ctx ) : List
InitListView ( List vars ) : void
InitializeComponent ( ) : void

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

InvalidatePaths ( Context ctx ) : void
LoadBackup ( string path ) : void
LoadMain ( object sender, EventArgs e ) : void
RefreshList ( ) : void
SetPathVariable ( Context ctx, string var ) : void
ToggleContext ( ) : void
btnAdd_Click ( object sender, EventArgs e ) : void
btnApply_Click ( object sender, EventArgs e ) : void
btnBrowse_Click ( object sender, EventArgs e ) : void
menuItemAutoBackup_Click ( object sender, EventArgs e ) : void
menuItemBackup_Click ( object sender, EventArgs e ) : void
menuItemHelp_Click ( object sender, System e ) : void
menuItemInvalidate_Click ( object sender, EventArgs e ) : void
menuItemLoad_Click ( object sender, EventArgs e ) : void
menuItemSwitch_Click ( 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

MainForm() public method

public MainForm ( ) : System
return System