Пример #1
0
 public FreeMarketForm(ClientForm frm1)
 {
     InitializeComponent();
     mParent = frm1;
     FMStealIgnBox.SetCueBanner("Enter IGN");
     XTBox.SetCueBanner("X");
     YTBox.SetCueBanner("Y");
     FHTBox.SetCueBanner("FH");
     NameOfShopTBox.SetCueBanner("Enter Shop Name");
 }
Пример #2
0
        private void CreateTab(string title, Tuple <Account, Settings> data = null)
        {
            var accountTab = new TabPage(title)
            {
                UseVisualStyleBackColor = true
            };
            var clientForm = new ClientForm();

            clientForm.InitializeAccount(data?.Item1);
            // TODO: Initialize Settings
            accountTab.Controls.Add(clientForm);

            AccountTabs.TabPages.Insert(AccountTabs.TabCount - 1, accountTab);
            AccountTabs.SelectedTab = accountTab;
        }