Example #1
0
        private void guna2ImageButton2_Click_2(object sender, EventArgs e)
        {
            DBconnection obb = new DBconnection();

            if (obb.adminLogin(global.UserID))
            {
                Admin ob = new Admin();
                ob.ShowDialog();
            }
            else
            {
                MessageBox.Show("Only Admin has access!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Example #2
0
        private void adminToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Admin ob = new Admin();

            ob.ShowDialog();
        }
Example #3
0
        private void guna2ImageButton2_Click_1(object sender, EventArgs e)
        {
            Admin ob = new Admin();

            ob.ShowDialog();
        }
Example #4
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            Admin ob = new Admin();

            ob.ShowDialog();
        }