C# Class Planetarium_Plugin.RenameDictionary

Inheritance: System.Windows.Forms.UserControl
Show file Open project: coachlab/Planetarium-PowerPoint-Plugin

Public Properties

Property Type Description
keyword string

Public Methods

Method Description
RenameDictionary ( ) : System

Initialises panel for renaming a dictionary

resetDictionary ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

RenameDictionary_Load ( object sender, EventArgs e ) : void

Loads list of available dictionaries on a combobox

cmbDictionaries_Click ( object sender, EventArgs e ) : void

Makes sure new dictionaries reflect when user clicks on combobox

cmbDictionaries_SelectedIndexChanged ( object sender, EventArgs e ) : void

Initialises dictionary name and location for dictionary to be renamed and opens selected dictionary to verify that user is renaming the intended dictionary

cmdRenameSave_Click ( object sender, EventArgs e ) : void

Does the actual renaming of a dictionary

cmdSaveChanges_Click ( object sender, EventArgs e ) : void

Saves all changes and reinitialises controls to allow for renaming of another dictionary

reload ( ) : void

Reloads dictionaries to make sure user is working with updated/ latest dictionaries

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

RenameDictionary() public method

Initialises panel for renaming a dictionary
public RenameDictionary ( ) : System
return System

resetDictionary() public method

public resetDictionary ( ) : void
return void

Property Details

keyword public property

public string keyword
return string