C# Class fCraft.ConfigGUI.MainForm

Inheritance: System.Windows.Forms.Form
Show file Open project: GlennMR/800craft Class Usage Examples

Public Properties

Property Type Description
usePrefixes bool

Public Methods

Method Description
MainForm ( ) : System
ToComboBoxOption ( Rank rank ) : string

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddChangeHandler ( Control c, EventHandler handler ) : void
ApplyColor ( Button button, int color ) : void
CheckMaxPlayersPerWorldValue ( ) : void
CheckPermissionConsistency ( Permission permission, bool check ) : void
ConfigUI_FormClosing ( object sender, FormClosingEventArgs e ) : void
CustomAliases_TextChanged ( object sender, EventArgs e ) : void
CustomName_TextChanged ( object sender, EventArgs e ) : void
DisableRankOptions ( ) : void
FillEnumLists ( ) : void
FillIRCNetworkList ( bool showNonEnglishNetworks ) : void
FillPermissionLimitBoxes ( ) : void
FillRankList ( [ box, string firstItem ) : void
FillToolTipsAdvanced ( ) : void
FillToolTipsChat ( ) : void
FillToolTipsGeneral ( ) : void
FillToolTipsIRC ( ) : void
FillToolTipsLogging ( ) : void
FillToolTipsRanks ( ) : void
FillToolTipsSavingAndBackup ( ) : void
FillToolTipsSecurity ( ) : void
FillToolTipsWorlds ( ) : void
FillWorldList ( ) : void
HandleTabChatChange ( object sender, EventArgs args ) : void
HandleWorldRename ( string from, string to ) : void
HbBox1_CheckedChanged ( object sender, EventArgs e ) : void
HiddenBox_CheckedChanged ( object sender, EventArgs e ) : void
Init ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

IsWorldNameTaken ( string name ) : bool
MaxCapsValue_ValueChanged ( object sender, EventArgs e ) : void
RebuildRankList ( ) : void
ReqsEditor_Click ( object sender, EventArgs e ) : void
SaveEverything ( ) : void
SelectRank ( Rank rank ) : void
SomethingChanged ( object sender, EventArgs args ) : void
SwearBox_TextChanged ( object sender, EventArgs e ) : void
SwearEditor_Click ( object sender, EventArgs e ) : void
UpdateChatPreview ( ) : void
WorldListErrorHandler ( object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e ) : void
bAddRank_Click ( object sender, EventArgs e ) : void
bAddWorld_Click ( object sender, EventArgs e ) : void
bAnnouncements_Click ( object sender, EventArgs e ) : void
bApply_Click ( object sender, EventArgs e ) : void
bCancel_Click ( object sender, EventArgs e ) : void
bChangelog_Click ( object sender, EventArgs e ) : void
bColorAnnouncement_Click ( object sender, EventArgs e ) : void
bColorHelp_Click ( object sender, EventArgs e ) : void
bColorIRC_Click ( object sender, EventArgs e ) : void
bColorMe_Click ( object sender, EventArgs e ) : void
bColorPM_Click ( object sender, EventArgs e ) : void
bColorRank_Click ( object sender, EventArgs e ) : void
bColorSay_Click ( object sender, EventArgs e ) : void
bColorSys_Click ( object sender, EventArgs e ) : void
bColorWarning_Click ( object sender, EventArgs e ) : void
bCredits_Click ( object sender, EventArgs e ) : void
bDeleteRank_Click ( object sender, EventArgs e ) : void
bGreeting_Click ( object sender, EventArgs e ) : void
bLowerRank_Click ( object sender, EventArgs e ) : void
bMapPath_Click ( object sender, EventArgs e ) : void
bMeasure_Click ( object sender, EventArgs e ) : void
bOpenWiki_Click ( object sender, EventArgs e ) : void
bPortCheck_Click ( object sender, EventArgs e ) : void
bRaiseRank_Click ( object sender, EventArgs e ) : void
bReadme_Click ( object sender, EventArgs e ) : void
bReportABug_Click ( object sender, EventArgs e ) : void
bResetAll_Click ( object sender, EventArgs e ) : void
bResetTab_Click ( object sender, EventArgs e ) : void
bRules_Click ( object sender, EventArgs e ) : void
bSave_Click ( object sender, EventArgs e ) : void
bShowAdvancedUpdaterSettings_Click ( object sender, EventArgs e ) : void
bWorldDel_Click ( object sender, EventArgs e ) : void
bWorldEdit_Click ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
cBlockDBAutoEnableRank_SelectedIndexChanged ( object sender, EventArgs e ) : void
cDefaultBuildRank_SelectedIndexChanged ( object sender, EventArgs e ) : void
cDefaultRank_SelectedIndexChanged ( object sender, EventArgs e ) : void
cIRCList_SelectedIndexChanged ( object sender, EventArgs e ) : void
cPatrolledRank_SelectedIndexChanged ( object sender, EventArgs e ) : void
cUpdaterMode_SelectedIndexChanged ( object sender, EventArgs e ) : void
cVerifyNames_SelectedIndexChanged ( object sender, EventArgs e ) : void
dgvWorlds_Click ( object sender, EventArgs e ) : void
lCrashReportDisclaimer_Click ( object sender, EventArgs e ) : void
label1_Click ( object sender, EventArgs e ) : void
label1_Click_1 ( object sender, EventArgs e ) : void
label2_Click ( object sender, EventArgs e ) : void
nAntiGriefBlocks_ValueChanged ( object sender, EventArgs e ) : void
nAntiGriefSeconds_ValueChanged ( object sender, EventArgs e ) : void
nCopyPasteSlots_ValueChanged ( object sender, EventArgs e ) : void
nDrawLimit_ValueChanged ( object sender, EventArgs e ) : void
nFillLimit_ValueChanged ( object sender, EventArgs e ) : void
nKickIdle_ValueChanged ( object sender, EventArgs e ) : void
nMaxPlayerPerWorld_Validating ( object sender, CancelEventArgs e ) : void
nMaxPlayers_ValueChanged ( object sender, EventArgs e ) : void
nMaxUndo_ValueChanged ( object sender, EventArgs e ) : void
nPort_ValueChanged ( object sender, EventArgs e ) : void
tIP_Validating ( object sender, CancelEventArgs e ) : void
tPrefix_Validating ( object sender, CancelEventArgs e ) : void
tRankName_Validating ( object sender, CancelEventArgs e ) : void
tServerName_TextChanged ( object sender, EventArgs e ) : void
vConsoleOptions_ItemChecked ( object sender, ItemCheckedEventArgs e ) : void
vConsoleOptions_SelectedIndexChanged ( object sender, EventArgs e ) : void
vLogFileOptions_ItemChecked ( object sender, ItemCheckedEventArgs e ) : void
vPermissions_ItemChecked ( object sender, ItemCheckedEventArgs e ) : void
vRanks_SelectedIndexChanged ( object sender, EventArgs e ) : void
xAllowSecurityCircumvention_CheckedChanged ( object sender, EventArgs e ) : void
xAnnounceRankChanges_CheckedChanged ( object sender, EventArgs e ) : void
xAnnouncements_CheckedChanged ( object sender, EventArgs e ) : void
xAntiGrief_CheckedChanged ( object sender, EventArgs e ) : void
xBackupAtInterval_CheckedChanged ( object sender, EventArgs e ) : void
xBlockDBAutoEnable_CheckedChanged ( object sender, EventArgs e ) : void
xBlockDBEnabled_CheckedChanged ( object sender, EventArgs e ) : void
xDrawLimit_CheckedChanged ( object sender, EventArgs e ) : void
xIP_CheckedChanged ( object sender, EventArgs e ) : void
xIRCListShowNonEnglish_CheckedChanged ( object sender, EventArgs e ) : void
xIRCRegisteredNick_CheckedChanged ( object sender, EventArgs e ) : void
xIRC_CheckedChanged ( object sender, EventArgs e ) : void
xKickIdle_CheckedChanged ( object sender, EventArgs e ) : void
xLogLimit_CheckedChanged ( object sender, EventArgs e ) : void
xMapPath_CheckedChanged ( object sender, EventArgs e ) : void
xMaxBackupSize_CheckedChanged ( object sender, EventArgs e ) : void
xMaxBackups_CheckedChanged ( object sender, EventArgs e ) : void
xMaxConnectionsPerIP_CheckedChanged ( object sender, EventArgs e ) : void
xMaxUndo_CheckedChanged ( object sender, EventArgs e ) : void
xRankPrefixesInChat_CheckedChanged ( object sender, EventArgs e ) : void
xReserveSlot_CheckedChanged ( object sender, EventArgs e ) : void
xSaveAtInterval_CheckedChanged ( object sender, EventArgs e ) : void
xSpamChatKick_CheckedChanged ( 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

ToComboBoxOption() public static method

public static ToComboBoxOption ( Rank rank ) : string
rank Rank
return string

Property Details

usePrefixes public static property

public static bool usePrefixes
return bool