private void toolStripLabel7_Click(object sender, EventArgs e)
        {
            ManageMainForm _newManageMainForm = new ManageMainForm(label1.Text);

            _newManageMainForm.Show();
            _newManageMainForm.SetDesktopLocation(150, 75);
            this.Hide();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            var      timezone = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time");
            string   time     = TimeZoneInfo.ConvertTime(DateTime.Now, timezone).ToString("HH:mm:ss");
            DateTime today    = DateTime.Today;
            string   date     = today.ToString("MM/dd/yyyy");

            try
            {
                int temp = _newQuery.LoginEmployee(int.Parse(textBox1.Text), textBox2.Text);
                if (temp == 1)
                {
                    _newQuery.AddWorkLog((int.Parse(_newQuery.GetLastEnteredID("EmployeeWorkLog", "LogID"))) + 1, int.Parse(textBox1.Text), date, time);
                    SalesForm _newSalesForm = new SalesForm(textBox1.Text);
                    _newSalesForm.Show();
                    _newSalesForm.SetDesktopLocation(325, 100);
                    this.Hide();
                }

                else if (temp == 2)
                {
                    _newQuery.AddWorkLog((int.Parse(_newQuery.GetLastEnteredID("EmployeeWorkLog", "LogID"))) + 1, int.Parse(textBox1.Text), date, time);
                    ManageMainForm _newManageMainForm = new ManageMainForm(textBox1.Text);
                    _newManageMainForm.Show();
                    this.Hide();
                }
                else if (temp == 0)
                {
                    MessageBox.Show("Either Your User ID or Password is invalid!");
                    textBox1.Clear();
                    textBox2.Clear();
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("Please Enter the Correct Login Details!");
                textBox1.Clear();
                textBox2.Clear();
            }
        }