Esempio n. 1
0
 public bool UpdateForm()
 {
     try {
         //formX.Refresh();
     }
     catch (Exception exn) {
         RReporting.IgnoreExn(exn, "MyCallback UpdateForm");
         return(false);
     }
     return(true);
 }
Esempio n. 2
0
 public bool UpdateStatus()
 {
     try {
         //sbX.Refresh();
         RReporting.WriteLine(sLast);
     }
     catch (Exception exn) {
         RReporting.IgnoreExn(exn, "MyCallback UpdateStatus(void)");
         return(false);
     }
     return(true);
 }
Esempio n. 3
0
        public string GetStatus()
        {
            bool   bGood   = true;
            string sReturn = "";

            try {
                sReturn = sLast;
                //sReturn=sbX.Text;
            }
            catch (Exception exn) {
                RReporting.IgnoreExn(exn, "MyCallback GetStatus");
                return("Can't get status.");
            }
            return(sReturn);
        }
Esempio n. 4
0
        public bool UpdateStatus(string sUpdate)
        {
            bool bGood = true;

            try {
                //sbX.Text=sUpdate;
                sLast = sUpdate;
                bGood = UpdateStatus();
            }
            catch (Exception exn) {
                RReporting.IgnoreExn(exn, "MyCallback UpdateStatus(string)");
                return(false);
            }
            if (bGood)
            {
                bGood = UpdateForm();
            }
            return(bGood);
        }