コード例 #1
0
        private void ViewProduct()
        {
            frmProductView oView = new frmProductView("S07");

            oView.ShowDialog();
            if (oView.sSelectedID != "")
            {
                this.txtProductID.Text = oView.sSelectedID;
            }
        }
コード例 #2
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);
        }