Exemplo n.º 1
0
        private void labroomButton2_Click(object sender, EventArgs e)
        {
            labroomCheckin = DateTime.Now;

            LogForm logForm = new LogForm(this, 2, Login);
            logForm.Show();
            Hide();
        }
Exemplo n.º 2
0
        private void labroomButton3_Click(object sender, EventArgs e)
        {
            labroomCheckIn = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");

            if (recorded[LabroomNum[2]]) {
                MessageBox.Show("Data was already entered for " + LabroomNum[2] +
                    ".\nPlease see Review and Save to change previously recorded data.");
            } else {
                //init logform for W718
                LogForm logForm = new LogForm(this, LabroomNum[2], Login);
                logForm.Show();
                Hide();
            }
        }