Пример #1
0
        private void bbi_select_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var oRow = (InvoiceOwnerDTO)gcv_FindIrsaliye.GetFocusedRow();

            if (oRow != null)
            {
                try
                {
                    Form _Form = MspTool.get_OpenForm("InvoiceEdit");
                    if (_Form != null)
                    {
                        ((InvoiceEdit)_Form).do_IrsaliyeSec(oRow.RecId, oRow.IrsaliyeNo);
                    }
                    _Form = null;
                }
                catch (Exception ex)
                {
                    XtraMessageBox.Show(ex.Message);
                }
                finally
                {
                    this.Close();
                }
            }
        }
Пример #2
0
 private void do_Form(CustomersDTO Customers)
 {
     Form _Form = MspTool.get_OpenForm("frmSatis");
     if (_Form != null)
     {
         ((frmSatis)_Form).CustomerSelect(Customers);
     }
     _Form = null;
 }
Пример #3
0
 public void do_indirimUygula()
 {
     if (indirimTutar > 0)
     {
         Form _Form = MspTool.get_OpenForm("frmSatis");
         if (_Form != null)
         {
             ((frmSatis)_Form).IskontoUygula(indirimTutar);
         }
         _Form = null;
         this.Close();
     }
 }
Пример #4
0
        private void do_Form(int RecId)
        {
            Form _Form_Satis = MspTool.get_OpenForm("frmSatis");

            if (_Form_Satis != null)
            {
                ((frmSatis)_Form_Satis).Insert_Product(RecId);
            }

            Form _Form_Satis_ProducM = MspTool.get_OpenForm("frmSaleProductMovemnet");

            if (_Form_Satis_ProducM != null)
            {
                ((frmSaleProductMovemnet)_Form_Satis_ProducM).Insert_Product(RecId);
            }

            _Form_Satis_ProducM = null;
            _Form_Satis         = null;
        }
Пример #5
0
 public void do_select()
 {
     try
     {
         var  oRow  = (OrderOwnerDTO)gcv_OrderList.GetFocusedRow();
         Form _Form = MspTool.get_OpenForm("InvoiceEdit");
         if (_Form != null)
         {
             ((InvoiceEdit)_Form).do_SiparisSec(oRow.RecId);
         }
         _Form = null;
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message);
     }
     finally
     {
         this.Close();
     }
 }