Beispiel #1
0
 //Constructor
 public ShellViewModel()
 {
     _connectionMethod = DataAccess.Initialize() ? ConnMethod.SQL:ConnMethod.Web;
     CarsScreen        = true;
     CanChangeScreen   = false;
     _waitingForCar    = true;
     NotifyOfPropertyChange(() => ErrorMessageVisible);
 }
Beispiel #2
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBox1.Checked)
     {
         checkBox2.Checked = false;
         checkBox3.Checked = false;
         checkBox4.Checked = false;
         checkBox5.Checked = false;
         CM = ConnMethod.Clear;
         PM = PrMethod.low;
         button1.Enabled = true;
     }
 }
Beispiel #3
0
 public Config(ImpMethod Imp, ConnMethod And)
 {
     implication = Imp;
     andlogic = And;
 }
Beispiel #4
0
 public Config(ImpMethod Imp, ConnMethod And)
 {
     _implication = Imp;
     _andlogic    = And;
 }