Exemplo n.º 1
0
 public frm_Employee(long pLongID, Boolean pblnCanWrite)
 {
     InitializeComponent();
     _employee = new Employee(pLongID);
     _validate = new Validate();
     tsi_save.Enabled = pblnCanWrite;
     displayRecord();
 }
Exemplo n.º 2
0
 public frm_Suppliers(long pLongID, Boolean pblnCanWrite)
 {
     InitializeComponent();
     tsi_save.Enabled = pblnCanWrite;
     _supplier = new Supplier(pLongID);
     _validate = new Validate();
     displayRecord();
 }
Exemplo n.º 3
0
 public frm_Employee(Boolean pblnCanWrite)
 {
     InitializeComponent();
     this.Text = "New " + this.Text;
     _employee = new Employee();
     _validate = new Validate();
     tsi_save.Enabled = pblnCanWrite;
 }
Exemplo n.º 4
0
 public frm_Suppliers(Boolean pblnCanWrite)
 {
     InitializeComponent();
     tsi_save.Enabled = pblnCanWrite;
     this.Text = "New " + this.Text;
     _supplier = new Supplier();
     _validate = new Validate();
 }
Exemplo n.º 5
0
 public frm_Product(long pLongID, Boolean pblnCanWrite)
 {
     InitializeComponent();
     tsi_save.Enabled = pblnCanWrite;
     _product = new Product(pLongID);
     _validate = new Validate();
     displayRecord();
 }
Exemplo n.º 6
0
 public frm_Product(Boolean pblnCanWrite)
 {
     InitializeComponent();
     tsi_save.Enabled = pblnCanWrite;
     _product = new Product();
     this.Text = "New " + this.Text;
     _validate = new Validate();
 }
Exemplo n.º 7
0
 public frm_Customers(long pLongID, Boolean pblnCanWrite)
 {
     InitializeComponent();
     _customer = new Customer(pLongID);
     _validate = new Validate();
     tsi_save.Enabled = pblnCanWrite;
     populateSaleManangersComboBox();
     displayRecord();
 }
Exemplo n.º 8
0
 public frm_Customers(Boolean pblnCanWrite)
 {
     InitializeComponent();
     this.Text = "New " + this.Text;
     _customer = new Customer();
     _validate = new Validate();
     tsi_save.Enabled = pblnCanWrite;
     populateSaleManangersComboBox();
 }
Exemplo n.º 9
0
 public frm_RawIngredients(long pLongID, Boolean pblnCanWrite)
 {
     InitializeComponent();
     tsi_save.Enabled = pblnCanWrite;
     _rawIngredient = new RawIngredient(pLongID);
     populateSupplierComboBox();
     displayRecord();
     _validate = new Validate();
 }
Exemplo n.º 10
0
 public frm_RawIngredients(Boolean pblnCanWrite)
 {
     InitializeComponent();
     tsi_save.Enabled = pblnCanWrite;
     _rawIngredient = new RawIngredient();
     this.Text = "New " + this.Text;
     _validate = new Validate();
     populateSupplierComboBox();
 }