private void BtnAutonomo_Click(object sender, EventArgs e) { FrmPrincipal.Instance.Visible = false; log tela = new log(); tela.Show(); }
private void Form1_Load(object sender, EventArgs e) { timer1.Start(); log log = new log(); log.Show(); this.Hide(); this.Opacity = 0; ToolTip toolTip1 = new ToolTip(); toolTip1.AutoPopDelay = 10000; toolTip1.InitialDelay = 0; toolTip1.ReshowDelay = 500; toolTip1.ShowAlways = true; toolTip1.SetToolTip(picvoltar, "Voltar para a tela inicial."); toolTip1.AutoPopDelay = 10000; toolTip1.InitialDelay = 0; toolTip1.ReshowDelay = 500; toolTip1.ShowAlways = true; lblVendas.Visible = false; Totalvenda.Visible = false; totalvendamanha.Visible = false; totalvendanoite.Visible = false; totalvendatarde.Visible = false; lblTotalCancelamento.Visible = false; lblcancelamentos.Visible = false; lblTotalCancelamentoManha.Visible = false; lblTotalCancelamentoTarde.Visible = false; lblCancelamentoNoite.Visible = false; toolTip1.AutoPopDelay = 2500; toolTip1.InitialDelay = 50; toolTip1.ReshowDelay = 5; toolTip1.ShowAlways = true; toolTip1.SetToolTip(button1, "Dê um click para manter as estatísticas fixas."); toolTip1.AutoPopDelay = 2500; toolTip1.InitialDelay = 50; toolTip1.ReshowDelay = 5; toolTip1.ShowAlways = true; toolTip1.SetToolTip(button2, "Dê um click para manter as estatísticas fixas."); }