private void buttonTimer_Tick(object sender, EventArgs e) { i++; switch (i) { case 1: BtCreateOrder.Show(); break; case 2: BtSave.Show(); break; case 3: BtPrint.Show(); break; case 4: BtEdit.Show(); break; case 5: BtDelete.Show(); break; default: break; } if (i == 6) { i = 0; buttonTimer.Stop(); } }
void setButtonHide() { BtCreateOrder.Hide(); BtEdit.Hide(); BtSave.Hide(); BtDelete.Hide(); BtPrint.Hide(); }