void Initialize() { lblSalesCount.Text = SalesCount.ToString() + " " + StringSales; lblType.Text = Type; lblAmount.Text = Revenue + " " + Currency; Seperator.Visible = AddSeperator; }
private void salesButton_Click(object sender, EventArgs e) { SalesCount++; salesCountTextBox.Text = SalesCount.ToString(); salesCountDateLabel.Text = DateTime.Now.ToString(); salesButton.Enabled = false; salesButton.BackColor = Color.Gray; salesTimer.Start(); }