Example #1
0
        /// <summary>
        /// Handles the Click event of the btn_ProdAdm control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        /// Erstellt von Veit Berg, am 27.01.16
        private void btn_ProdAdm_Click(object sender, EventArgs e)
        {
            Produktverwaltung_View ProductAdmin = new Produktverwaltung_View(this);

            ProductAdmin.Show();
            Hide();
        }
Example #2
0
        public Product_Update_View(Produktverwaltung_View parentView, int productId)
        {
            this.parentView = parentView;
            using (ProductController ProdUpdView = new ProductController())
            {
                this.Product = ProdUpdView.GetProductById(productId);
            }

            InitializeComponent();
        }
        public Product_Update_View(Produktverwaltung_View parentView, int productId)
        {
            this.parentView = parentView;
            using (ProductController ProdUpdView = new ProductController())
            {
                this.Product = ProdUpdView.GetProductById(productId);
            }

            InitializeComponent();
        }
Example #4
0
 public Product_Create_View(Produktverwaltung_View parentView)
 {
     this.parentView = parentView;
     this.prodCont   = new ProductController();
     InitializeComponent();
 }
 /// <summary>
 /// Handles the Click event of the btn_ProdAdm control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 /// Erstellt von Veit Berg, am 27.01.16
 private void btn_ProdAdm_Click(object sender, EventArgs e)
 {
     Produktverwaltung_View ProductAdmin = new Produktverwaltung_View(this);
     ProductAdmin.Show();
     Hide();
 }