static void Main(string[] args) { CreatorDotH makerH = new CreatorDotH(); CreatorDotC makerC = new CreatorDotC(); Structure myStructure = new Structure(); string appVersion = "Structure Builder [v1.2.0.1]"; short fullPackSize = 8; // Basic functions struct newEmpty + new + show + showall short auxParNum = 6; // Basic functions by parameter com + get + set short packsDone = 0; Console.WriteLine(appVersion); myStructure.StructureName = DataCollector.StructureNameCollector(); myStructure.AliasName = DataCollector.StructureAliasCollector(myStructure.StructureName); myStructure.FinalStructureName = myStructure.AliasName; DataCollector.AddParameterToStructure(myStructure); auxParNum *= (short)myStructure.ListParamaters.Count; fullPackSize += auxParNum; ConsolePrinter.ShowProgress(fullPackSize, packsDone); packsDone = makerH.FileMaker(myStructure, packsDone, fullPackSize); packsDone = makerC.FileMaker(myStructure, packsDone, fullPackSize); ConsolePrinter.ShowProgress(fullPackSize, packsDone); Console.ReadKey(); }
/// <summary> /// Basic constructor of the form. /// </summary> public StructureBuilder() { InitializeComponent(); myStructure = new Structure(); myParameter = new Parameter(); makerC = new CreatorDotC(); makerH = new CreatorDotH(); }
/// <summary> /// Basic constructor of the form. /// </summary> public StructureBuilder() { InitializeComponent(); this.textBoxes = new List <TextBox>(); this.textChars = new List <TextBox>(); this.threads = new List <Thread>(); this.myDelPlayer = new MyPlayer(); this.myDelPlayer.ESoundPlayer += this.MyPlayerMainMusic; myStructure = new Structure(); this.myParameter = new Parameter(); this.makerC = new CreatorDotC(); this.makerH = new CreatorDotH(); }
public StructureBuilder() { InitializeComponent(); myStructure = new Structure(); myParameter = new Parameter(); makerC = new CreatorDotC(); makerH = new CreatorDotH(); grpSecondParam.Enabled = false; grpThirdParam.Enabled = false; grpFourthParam.Enabled = false; chkThirdParam.Enabled = false; chkFourthParam.Enabled = false; btnCreate.Enabled = false; cmbFirstParamType.SelectedIndex = 0; cmbSecondParamType.SelectedIndex = 0; cmbThirdParamType.SelectedIndex = 0; cmbFourthParamType.SelectedIndex = 0; lblVersion.Text = appVersion; }