C# Класс ModBuilder.modEditor

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
authorName System.Windows.Forms.TextBox
conn SQLiteConnection
customCodeInstall System.Windows.Forms.TextBox
customCodeUninstall System.Windows.Forms.TextBox
genPkgID System.Windows.Forms.CheckBox
hasConn bool
ignoreInstructions System.Windows.Forms.CheckBox
includeModManLine System.Windows.Forms.CheckBox
installDatabaseCode System.Windows.Forms.TextBox
instructions System.Windows.Forms.TreeView
modCompatibility System.Windows.Forms.TextBox
modID System.Windows.Forms.TextBox
modName System.Windows.Forms.TextBox
modReadme System.Windows.Forms.TextBox
modType System.Windows.Forms.ComboBox
modVersion System.Windows.Forms.TextBox
settings string>.Dictionary
uninstallDatabaseCode System.Windows.Forms.TextBox
workingDirectory string

Открытые методы

Метод Описание
CopyFilesRecursively ( DirectoryInfo source, DirectoryInfo target ) : void
DeleteRecursively ( DirectoryInfo source ) : void
generateSQL ( string dir, bool deleteFile = true, string>.Dictionary addSettings = null ) : bool
modEditor ( ) : System
refreshComboboxList ( string dir ) : void
refreshExtractionTree ( ) : void
refreshInstructionTree ( ) : void
reloadSettings ( ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
InitializeComponent ( ) : void

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

adatabaseInstallTemplates_SelectedIndexChanged ( object sender, EventArgs e ) : void
adatabaseUninstallTemplates_SelectedIndexChanged ( object sender, EventArgs e ) : void
authorName_TextChanged ( object sender, EventArgs e ) : void
bbcbutton ( object sender, EventArgs e ) : void
buildMod ( string dir ) : bool
buildToolStripMenuItem_Click ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void
ccodeInstallTemplates_SelectedIndexChanged ( object sender, EventArgs e ) : void
ccodeUninstallTemplates_SelectedIndexChanged ( object sender, EventArgs e ) : void
cfeDBInstall_Click ( object sender, EventArgs e ) : void
cfeDBUninstall_Click ( object sender, EventArgs e ) : void
cfeInstallCode_Click ( object sender, EventArgs e ) : void
cfeUninstallCode_Click ( object sender, EventArgs e ) : void
checkCode ( string code ) : void
compileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
createExtractionInstruction_Click ( object sender, EventArgs e ) : void
delInstruction_Click ( object sender, EventArgs e ) : void
deleteExtractButton_Click ( object sender, EventArgs e ) : void
deleteFiles_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
extractFiles_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
extractionRefresh_Click ( object sender, EventArgs e ) : void
filesHelp_Click ( object sender, EventArgs e ) : void
genPkgID_CheckedChanged ( object sender, EventArgs e ) : void
generateModID ( ) : void
importCustomCodeInstall_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
importCustomCodeUninstall_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
importFile ( bool shouldbePHP = true ) : string
importInstallDatabaseCode_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
importUninstallDatabaseCode_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
insertBBC ( string tag, bool close = true ) : void
instructionHelp_Click ( object sender, EventArgs e ) : void
instructionsRefresh_Click ( object sender, EventArgs e ) : void
instructions_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
modCompatibility_TextChanged ( object sender, EventArgs e ) : void
modEditor_FormClosing ( object sender, FormClosingEventArgs e ) : void
modEditor_Load ( object sender, EventArgs e ) : void
modID_TextChanged ( object sender, EventArgs e ) : void
modName_TextChanged ( object sender, EventArgs e ) : void
modType_SelectedIndexChanged ( object sender, EventArgs e ) : void
modVersion_TextChanged ( object sender, EventArgs e ) : void
newProjectToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openProjectDirectoryToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openProjectToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pictureBox1_Click ( object sender, EventArgs e ) : void
pictureBox2_Click ( object sender, EventArgs e ) : void
pictureBox3_Click ( object sender, EventArgs e ) : void
pictureBox4_Click ( object sender, EventArgs e ) : void
pictureBox5_Click ( object sender, EventArgs e ) : void
pictureBox6_Click ( object sender, EventArgs e ) : void
readmeHelp_Click ( object sender, EventArgs e ) : void
refreshInstallationCodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
regenerateSQLToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveProjectToolStripMenuItem_Click ( object sender, EventArgs e ) : void
showHelp ( string text ) : void

Описание методов

CopyFilesRecursively() публичный статический Метод

public static CopyFilesRecursively ( DirectoryInfo source, DirectoryInfo target ) : void
source DirectoryInfo
target DirectoryInfo
Результат void

DeleteRecursively() публичный статический Метод

public static DeleteRecursively ( DirectoryInfo source ) : void
source DirectoryInfo
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

generateSQL() публичный Метод

public generateSQL ( string dir, bool deleteFile = true, string>.Dictionary addSettings = null ) : bool
dir string
deleteFile bool
addSettings string>.Dictionary
Результат bool

modEditor() публичный Метод

public modEditor ( ) : System
Результат System

refreshComboboxList() публичный Метод

public refreshComboboxList ( string dir ) : void
dir string
Результат void

refreshExtractionTree() публичный Метод

public refreshExtractionTree ( ) : void
Результат void

refreshInstructionTree() публичный Метод

public refreshInstructionTree ( ) : void
Результат void

reloadSettings() публичный Метод

public reloadSettings ( ) : void
Результат void

Описание свойств

authorName публичное свойство

public System.Windows.Forms.TextBox authorName
Результат System.Windows.Forms.TextBox

conn публичное свойство

public SQLiteConnection conn
Результат SQLiteConnection

customCodeInstall публичное свойство

public System.Windows.Forms.TextBox customCodeInstall
Результат System.Windows.Forms.TextBox

customCodeUninstall публичное свойство

public System.Windows.Forms.TextBox customCodeUninstall
Результат System.Windows.Forms.TextBox

genPkgID публичное свойство

public System.Windows.Forms.CheckBox genPkgID
Результат System.Windows.Forms.CheckBox

hasConn публичное свойство

public bool hasConn
Результат bool

ignoreInstructions публичное свойство

public System.Windows.Forms.CheckBox ignoreInstructions
Результат System.Windows.Forms.CheckBox

includeModManLine публичное свойство

public System.Windows.Forms.CheckBox includeModManLine
Результат System.Windows.Forms.CheckBox

installDatabaseCode публичное свойство

public System.Windows.Forms.TextBox installDatabaseCode
Результат System.Windows.Forms.TextBox

instructions публичное свойство

public System.Windows.Forms.TreeView instructions
Результат System.Windows.Forms.TreeView

modCompatibility публичное свойство

public System.Windows.Forms.TextBox modCompatibility
Результат System.Windows.Forms.TextBox

modID публичное свойство

public System.Windows.Forms.TextBox modID
Результат System.Windows.Forms.TextBox

modName публичное свойство

public System.Windows.Forms.TextBox modName
Результат System.Windows.Forms.TextBox

modReadme публичное свойство

public System.Windows.Forms.TextBox modReadme
Результат System.Windows.Forms.TextBox

modType публичное свойство

public System.Windows.Forms.ComboBox modType
Результат System.Windows.Forms.ComboBox

modVersion публичное свойство

public System.Windows.Forms.TextBox modVersion
Результат System.Windows.Forms.TextBox

settings публичное свойство

public Dictionary settings
Результат string>.Dictionary

uninstallDatabaseCode публичное свойство

public System.Windows.Forms.TextBox uninstallDatabaseCode
Результат System.Windows.Forms.TextBox

workingDirectory публичное свойство

public string workingDirectory
Результат string