Ejemplo n.º 1
0
        private async void AddTradeForm_Load(object sender, EventArgs e)
        {
            // Tab Form Add
            AddTradeFirstForm tradeFirstForm = new AddTradeFirstForm();

            tradeFirstForm.TopLevel = false;
            tradeFirstForm.SetFormManager(formManager);
            tradeFirstForm.SetTradePanel(panelTrade);
            tradeFirstForm.Show();

            panelTrade.Controls.Add(tradeFirstForm);

            for (Width = 0; Width < 700; Width += 50)
            {
                await Task.Delay(1);
            }
        }
Ejemplo n.º 2
0
 public void SetTradeFirstForm(AddTradeFirstForm tradeFirstForm)
 {
     this.tradeFirstForm = tradeFirstForm;
 }