Example #1
0
 public UpdateUserForm(User user, ChipTableForm _ctf)
 {
     InitializeComponent();
     SetTextBoxs(user);
     ctf   = _ctf;
     logic = new AppLogicAPI();
 }
Example #2
0
        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();
        }