Beispiel #1
0
        public BeerForm()
        {
            InitializeComponent();
            beerUserControl = new BeerUserControl();
            beerUserControl.Load_Combobox();
            beerUserControl.Dock = DockStyle.Fill;

            this.BeerUCPanel.Controls.Add(beerUserControl);

            RefreshBeerListBox();
        }
Beispiel #2
0
        public AddBeer()
        {
            InitializeComponent();
            this.ValiderButton.Enabled = false;
            beerUserControl            = new BeerUserControl();

            beerUserControl.Dock = DockStyle.Fill;

            this.BeerUCPanel.Controls.Add(beerUserControl);
            ((TextBox)this.beerUserControl.Controls["NomTextBox"]).TextChanged            += new EventHandler(Checker);
            ((TextBox)this.beerUserControl.Controls["TauxAlcoolémieTextBox"]).TextChanged += new EventHandler(Checker);
            beerUserControl.Load_Combobox();
        }