public Form2(processorHandler AddProcessorInComputer) { InitializeComponent(); this.AddProcessor += AddProcessorInComputer; this.processor = new Processor(); this.comboBox1.Items.Add(Processor.processorBit.x32); this.comboBox1.Items.Add(Processor.processorBit.x64); this.comboBox1.SelectedIndex = 1; }
public Form2(processorHandler AddProcessorInComputer, ChangeStatusHandler ChnageStatus, ComputerTypes computerType) { InitializeComponent(); this.AddProcessor += AddProcessorInComputer; this.ChangeStatus += ChnageStatus; this.processor = new Processor(); this.computerType = computerType; SetBuilder(); this.comboBox1.Items.Add(Bits.processorBit.x32); this.comboBox1.Items.Add(Bits.processorBit.x64); this.comboBox1.SelectedIndex = 1; }