Esempio n. 1
0
 public void RefreshEvent(object sender, EventArgs e)
 {
     refreshPnl = new Refresh();
     if (refreshPnl.SetRefreshFrame() == 0)
     {
         dbToListSched();
         timer.Stop();
     }
 }
Esempio n. 2
0
        public void close(object sender, EventArgs e)
        {
            Refresh r = new Refresh();

            if (r.SetRefreshFrame() == 0)
            {
                time.Dispose();
                this.Close();
            }
        }