private void btnInfo_Click(object sender, EventArgs e) { panelRight.Top = btnInfo.Top; panelRight.Height = btnInfo.Height; fcAccountInfo fc = new fcAccountInfo(LoginAccount); OpenChildFrom(fc); }
public fAccount(Account acc) { InitializeComponent(); this.LoginAccount = acc; fcAccountInfo fc = new fcAccountInfo(LoginAccount); OpenChildFrom(fc); }