private void MenuStart_Click(object sender, EventArgs e) { if (StartTimeEdit.Tag.ToString() == "Ready") { StartTimeEdit.Tag = "Started"; StartTimeEdit.EditValue = DateTime.Now; } labelStartedOrNot.Text = "가동중"; WorkTimeTimer.Start(); ovalShape1.FillColor = Color.FromArgb(46, 81, 154); }
private void MenuStop_Click(object sender, EventArgs e) { labelStartedOrNot.Text = "비가동"; WorkTimeTimer.Stop(); ovalShape1.FillColor = Color.FromName("Crimson"); }