コード例 #1
0
 public StandardCalculatorControl(MemoryClass memoryclass)
 {
     InitializeComponent();
     memoryClass          = memoryclass;
     buttonM.Enabled      = false;
     buttonMplus.Enabled  = false;
     buttonMC.Enabled     = false;
     buttonMminus.Enabled = false;
 }
コード例 #2
0
 public ScienceCalculatorControl(MemoryClass memoryclass)
 {
     InitializeComponent();
     memoryClass = memoryclass;
     // disable memory buttons till memory is added
     buttonM.Enabled      = false;
     buttonMplus.Enabled  = false;
     buttonMC.Enabled     = false;
     buttonMminus.Enabled = false;
 }