Example #1
0
 public void LoadContext(TrayAppContext ac)
 {
     appContext    = ac;
     sFileSettings = MMExt.MMConLocation() + "\\" + sFileSettingFileName;
     RefreshTasks();
     RefreshSchedule();
     if (!tAppClock.Enabled)
     {
         tAppClock.Enabled = true;
     }
 }
Example #2
0
        public void LoadContext(TrayAppContext ac)
        {
            appContext    = ac;
            sFileSettings = MMExt.MMConLocation() + "\\" + sFileSettingFileName;
            IniFile ai    = IniFile.FromFile(sFileSettings);
            string  sFile = ai["Settings"]["LocalFolder"];

            if (sFile != "")
            {
                textBox1.Text = sFile;
            }
            sFile = ai["Settings"]["WorkingFolder"];
            if (sFile != "")
            {
                textBox2.Text = sFile;
            }
            //edOut.Text += sFileSettings+Environment.NewLine;
        }