コード例 #1
0
ファイル: UserInsightModel.cs プロジェクト: vendstor/vendstor
 void Initialize()
 {
     lblSalesCount.Text = SalesCount.ToString() + " " + StringSales;
     lblType.Text       = Type;
     lblAmount.Text     = Revenue + " " + Currency;
     Seperator.Visible  = AddSeperator;
 }
コード例 #2
0
        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();
        }