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;
 }
Exemplo n.º 4
0
        private void changeUserNameToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var b = new ChangeUserNameForm(admin);
            b.ShowDialog();
            admin = new Admin();
            PopulateUserListView();

        }