public UpdateUserForm(User user, ChipTableForm _ctf) { InitializeComponent(); SetTextBoxs(user); ctf = _ctf; logic = new AppLogicAPI(); }
public void IntializeTabPanel(string UserToken) { aboutUsForm = new AboutUsForm(); aboutUsForm.TopLevel = false; aboutUsForm.AutoScroll = true; chipTableForm = new ChipTableForm(UserToken); chipTableForm.TopLevel = false; chipTableForm.AutoScroll = true; shopForm = new ShopForm(); shopForm.TopLevel = false; shopForm.AutoScroll = true; contectUsForm = new ContectUsForm(UserToken); contectUsForm.TopLevel = false; contectUsForm.AutoScroll = true; TabPanel.Controls.Add(aboutUsForm); TabPanel.Controls.Add(chipTableForm); TabPanel.Controls.Add(shopForm); TabPanel.Controls.Add(contectUsForm); chipTableForm.Show(); }