Exemple #1
0
 private void ConnectionForm_Load(object sender, EventArgs e)
 {
     syncController         = new SyncController();
     TextBoxCompanyID.Text  = syncController.User.CompanyID;
     TextBoxName.Text       = syncController.User.Name;
     TextBoxPassword.Text   = syncController.User.Password;
     TextBoxIP.Text         = syncController.Settings.IP;
     TextBoxPort.Text       = syncController.Settings.Port;
     TextBoxInteval.Text    = syncController.Settings.SyncInterval.ToString();
     TextBoxDaily.Text      = syncController.Settings.DailySyncTime.ToString();
     CheckBoxBackUp.Checked = syncController.Settings.BackupData;
 }
Exemple #2
0
 private void SyncForm_Load(object sender, EventArgs e)
 {
     //new SetUpController().firstTimeSetup();
     XMLHandler.CreateMissingDirectories();
     syncController = new SyncController();
 }