private void AdProfileSetting_Click(object sender, EventArgs e)
 {
     Admin.AdSettingsPanel settingpanel = new AdSettingsPanel();
     settingpanel.adminName = td.Rows[0][1].ToString();
     settingpanel.AdminID   = td.Rows[0][0].ToString();
     settingpanel.ShowDialog();
 }
 private void passwordToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Admin.AdSettingsPanel adp = new AdSettingsPanel();
     adp.ShowDialog();
 }