private void btnAccount_Click(object sender, EventArgs e) { panelRight.Top = btnAccount.Top; panelRight.Height = btnAccount.Height; fcAccountList fc = new fcAccountList(LoginAccount); OpenChildFrom(fc); }
public fAdmin(Account acc) { InitializeComponent(); this.LoginAccount = acc; fcAccountList fc = new fcAccountList(LoginAccount); OpenChildFrom(fc); DoubleBuffered = true; }