private void btnViewProducts_Click(object sender, EventArgs e) { //opens view products/hides main frmProductView viewProd = new frmProductView(); viewProd.Show(); Hide(); }
private void ViewProduct() { frmProductView oView = new frmProductView("S07"); oView.ShowDialog(); if (oView.sSelectedID != "") { this.txtProductID.Text = oView.sSelectedID; } }
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); }