Esempio n. 1
0
 private void recordsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Login.loginAdmin == 1)
     {
         DataRecords records = new DataRecords();
         records.Visible = true;
     }
     else
     {
         MessageBox.Show("Sorry,this portion is only for admin.");
     }
     //DataRecords dr = new DataRecords();
     //dr.Show();
 }
Esempio n. 2
0
        private void testButton_Click(object sender, EventArgs e)
        {
            DataRecords record = new DataRecords();

            record.Visible = true;
        }