Example #1
0
        public Vendor EditVendor()
        {
            ucVendors.DisableEdit();
            Object o = frmDisplay.ShowDialog(ucVendors);

            ucVendors.EnableEdit();
            this.tabVendors.Controls.Add(this.ucVendors);
            return(o as Vendor);
        }
Example #2
0
        public Product EditProduct()
        {
            ucProducts.DisableEdit();
            Object o = frmDisplay.ShowDialog(ucProducts);

            ucProducts.EnableEdit();
            this.tabProducts.Controls.Add(this.ucProducts);
            return(o as Product);
        }
Example #3
0
        public Client EditClient()
        {
            ucClients.DisableEdit();
            Object o = frmDisplay.ShowDialog(ucClients);

            ucClients.EnableEdit();
            this.tabClients.Controls.Add(this.ucClients);
            return(o as Client);
        }