Esempio n. 1
0
        private void tool_DIRSALES_Click(object sender, EventArgs e)
        {
            BL.CLS_ORDERS.ORDER_TYPES = 0;
            FORM_SALES FORM = new FORM_SALES();

            FORM.ShowDialog();
        }
 private void button_INVO_DETLS_Click(object sender, EventArgs e)
 {
     if (gridView1.RowCount > 0)
     {
         var           ORDER_TYPES = BL.CLS_ORDERS.ORDER_TYPES;
         int           ID_ORD      = int.Parse(gridView1.GetRowCellValue(gridView1.FocusedRowHandle, gridView1.Columns["ID_ORDER"]).ToString());
         PL.FORM_SALES form        = new FORM_SALES();
         form.Restore_Order(ID_ORD);
         form.InitializeFunction();
         form.ShowDialog();
     }
 }