public formProduct() { InitializeComponent(); Conexion.IniciarSesion(); disableEnableControls(true); TimeSumulate.Stop(); Search(); }
private void TimeSumulate_Tick(object sender, EventArgs e) { btnSearch.BackColor = SystemColors.Control; count += 1; if (count.Equals(3)) { btnSearch.BackColor = SystemColors.ButtonHighlight; TimeSumulate.Stop(); TimeSumulate.Dispose(); count = 0; } }
private void btnSearch_Click(object sender, EventArgs e) { TimeSumulate.Start(); isEnableSearch(); }