private void btnViewProducts_Click(object sender, EventArgs e)
        {
            //opens view products/hides main
            frmProductView viewProd = new frmProductView();

            viewProd.Show();
            Hide();
        }
Пример #2
0
        private void ViewProduct()
        {
            frmProductView oView = new frmProductView("S07");

            oView.ShowDialog();
            if (oView.sSelectedID != "")
            {
                this.txtProductID.Text = oView.sSelectedID;
            }
        }
Пример #3
0
        public bool View()
        {
            frmProductView oView = new frmProductView(this.CompanyID);

            oView.ShowDialog();
            if (oView.sSelectedID != "")
            {
                return(true);
            }
            return(false);
        }
        public override bool View()
        {
            frmProductView oView = new frmProductView(this.CompanyID);

            oView.ShowDialog();
            if (oView.sSelectedID != "")
            {
                ID = oView.sSelectedID;
                Find(ID);
                return(true);
            }
            return(false);
        }
        public bool View(Customer oCustomer)
        {
            frmProductView oView = new frmProductView(oCustomer);

            oView.ShowDialog();
            if (oView.sSelectedID != "")
            {
                ID = oView.sSelectedID;
                Find(ID);
                return(true);
            }
            return(false);
        }