Ejemplo n.º 1
0
        private void btn12_Click(object sender, EventArgs e)
        {
            ProcessesForm processes = new ProcessesForm();
            DateTime      stLogin   = DateTime.Now;

            btnWasClicked = 12;
            if (clock[11] == null || clock[11] == "bos")
            {
                clock[11] = stLogin.ToString("H:mm:ss");
            }
            processes.ShowDialog();
        }
Ejemplo n.º 2
0
        private void btn1_Click(object sender, EventArgs e)
        {
            ProcessesForm processes = new ProcessesForm();
            DateTime      stLogin   = DateTime.Now;

            btnWasClicked = 1;
            if (clock[0] == null || clock[0] == "bos")// saat var ise sıfırlamasın diye
            {
                clock[0] = stLogin.ToString("H:mm:ss");
            }
            processes.ShowDialog();
        }