Esempio n. 1
0
 public frmInicio()
 {
     InitializeComponent();
     instanciaInicio                      = this;
     bckExportarTimer                     = new BackgroundWorker();
     bckExportarTimer.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.bckExportarTimer_DoWork);
     bckExportarTimer.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bckExportarTimer_RunWorkerCompleted);
     aTimer          = new System.Timers.Timer(600000);
     aTimer.Elapsed += new ElapsedEventHandler(ExportarAlTimer);
     aTimer.Enabled  = true;
 }
 public frmPrincipal(frmInicio instanciaInicio)
 {
     InitializeComponent();
     foreach (Control control in this.Controls)
     {
         MdiClient client = control as MdiClient;
         if (!(client == null))
         {
             client.BackColor = this.BackColor;
             break;
         }
     }
     this.instanciaInicio = instanciaInicio;
 }
Esempio n. 3
0
 public frmPrincipal(frmInicio instanciaInicio)
 {
     InitializeComponent();
     foreach (Control control in this.Controls)
     {
         MdiClient client = control as MdiClient;
         if (!(client == null))
         {
             client.BackColor = this.BackColor;
             break;
         }
     }
     this.instanciaInicio = instanciaInicio;
 }
 private void bckWrk_DoWork(object sender, DoWorkEventArgs e)
 {
     frmInicio frm = new frmInicio();
      //   frm.ActualizarBD();
 }
Esempio n. 5
0
 public frmInicio()
 {
     InitializeComponent();
     instanciaInicio = this;
 }