コード例 #1
0
 public Form2(ConcretePC.CPU m_CPUPart, ConcretePC.GPU m_GPUPart, ConcretePC.Ram m_RamPart)
 {
     InitializeComponent();
     txtCPU.Text = m_CPUPart.ToString();
     txtGPU.Text = m_GPUPart.ToString();
     txtRam.Text = m_RamPart.ToString();
 }
コード例 #2
0
 public override Laptop createLaptop(ConcretePC.CPU m_CPUPart, ConcretePC.GPU m_GPUPart, ConcretePC.Ram m_RamPart)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
        public Laptop(ConcretePC.CPU m_CPUPart, ConcretePC.GPU m_GPUPart, ConcretePC.Ram m_RamPart)
        {
            Form2 f2 = new Form2(m_CPUPart, m_GPUPart, m_RamPart);

            f2.Visible = true;
        }
コード例 #4
0
 public override Laptop createLaptop(ConcretePC.CPU m_CPUPart, ConcretePC.GPU m_GPUPart, ConcretePC.Ram m_RamPart)
 {
     return(new Laptop(m_CPUPart, m_GPUPart, m_RamPart));
 }
コード例 #5
0
 public abstract Laptop createLaptop(ConcretePC.CPU m_CPUPart, ConcretePC.GPU m_GPUPart, ConcretePC.Ram m_RamPart);