private void metroTile6_Click(object sender, EventArgs e)
        {
            frmbackupdb frm = new frmbackupdb();

            frm.Show();
            this.Hide();
        }
        private void metroTile15_Click(object sender, EventArgs e)
        {
            DialogResult dialogresult = MetroFramework.MetroMessageBox.Show(this, "Will you back-up your working database before you leave?", "Automated Job  Card System", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

            if (dialogresult == DialogResult.Yes)
            {
                //timer1.Start ();

                frmbackupdb At = new frmbackupdb();
                At.Show();
                this.Hide();
                // return;
            }
            else if (dialogresult == DialogResult.No)
            {
                MessageBox.Show("Thank you.Goodbye", "Workshop management system", MessageBoxButtons.OK, MessageBoxIcon.Information);
                this.Hide();
                //Application.Exit ();
                calllogin();
            }
        }