Ejemplo n.º 1
0
        private void btnSales_Click(object sender, EventArgs e)
        {
            SalesDepartmentForm salesDepartmentForm = new SalesDepartmentForm(db, this);

            salesDepartmentForm.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
 public WarehouseForm(RoofingCompanyEntities db, SalesDepartmentForm salesForm)
 {
     this.db        = db;
     this.salesForm = salesForm;
     isPreviousForm = false;
     InitializeComponent();
 }
Ejemplo n.º 3
0
 public OrderNewSemiProductForm(RoofingCompanyEntities db, object idSfOrder, SalesDepartmentForm salesForm)
 {
     InitializeComponent();
     this.db          = db;
     this.salesForm   = salesForm;
     this.idSfOrder   = Convert.ToInt32(idSfOrder);
     idSfOrderTb.Text = idSfOrder.ToString();
 }
Ejemplo n.º 4
0
 public AddNewOrderForm(RoofingCompanyEntities db, object customerDgvCell1, SalesDepartmentForm salesForm)
 {
     InitializeComponent();
     this.db                  = db;
     this.salesForm           = salesForm;
     customerName             = customerDgvCell1.ToString();
     this.customerNameTb.Text = customerName;
 }
Ejemplo n.º 5
0
 public AddNewOrderDetailForm(RoofingCompanyEntities db, object idOrder, SalesDepartmentForm form)
 {
     InitializeComponent();
     this.db           = db;
     this.salesForm    = form;
     orderNumber       = int.Parse(idOrder.ToString());
     this.orderTb.Text = orderNumber.ToString();
 }
Ejemplo n.º 6
0
 public WarehouseForm(RoofingCompanyEntities db, SalesDepartmentForm salesForm, CustomerForm previousForm)
 {
     this.db           = db;
     this.salesForm    = salesForm;
     this.customerForm = previousForm;
     isPreviousForm    = true;
     InitializeComponent();
 }
Ejemplo n.º 7
0
 public OrderSfForm(RoofingCompanyEntities db, SalesDepartmentForm salesForm)
 {
     InitializeComponent();
     this.db        = db;
     this.salesForm = salesForm;
 }
Ejemplo n.º 8
0
 public AddNewCustomerForm(RoofingCompanyEntities db, SalesDepartmentForm form)
 {
     InitializeComponent();
     this.db           = db;
     this.previousForm = form;
 }
Ejemplo n.º 9
0
 public OutsourcingForm(RoofingCompanyEntities db, SalesDepartmentForm form)
 {
     this.db           = db;
     this.previousForm = form;
     InitializeComponent();
 }