public AdminForm(Admin admin)
 {
     InitializeComponent();
     _admin = admin;
 }
 public TradeLogForm(Admin admin)
 {
     InitializeComponent();
     onUpdate = LoadListview;
     _admin = admin;
 }
 public ChangeUserNameForm(Admin admin)
 {
     InitializeComponent();
     dc = new AlsiTMDataContext();
     _admin = admin;
 }
        private void changeUserNameToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var b = new ChangeUserNameForm(admin);
            b.ShowDialog();
            admin = new Admin();
            PopulateUserListView();

        }