예제 #1
0
        private void frmBankEntry_Load(object sender, EventArgs e)
        {
            repositoryItemLookUpEdit1.DataSource    = _repository.Run <BankEntryServices, List <BanksDTO> >(x => x.GetListBanks());
            repositoryItemLookUpEdit1.ValueMember   = "Bid";
            repositoryItemLookUpEdit1.DisplayMember = "BankName";
            do_refresh();

            mspTool.Get_GridControl(this.Name, gridControl1);
        }
예제 #2
0
        private void frmStok_Load(object sender, EventArgs e)
        {
            repositoryItemLookUpEdit1.DataSource    = _repository.Run <DepotStockService, List <UnitsDTO> >(x => x.GetListUnit());
            repositoryItemLookUpEdit1.ValueMember   = "UID";
            repositoryItemLookUpEdit1.DisplayMember = "UName";
            _parameters = _repository.Run <SettingsService, ParametersDTO>(x => x.Get_Parameters());

            do_refresh();
            mspTool.Get_GridControl(this.Name, gcProducts);
        }
예제 #3
0
        private void frmVeresiyeSatisList_Load(object sender, EventArgs e)
        {
            if (AppMain.User.ExportExcelPdf.GetValueOrDefault() == false)
            {
                bbi_exp.Enabled = false;
            }
            else
            {
                bbi_exp.Enabled = true;
            }
            do_refresh();

            mspTool.Get_GridControl(this.Name, gc_SiparisList);
        }
예제 #4
0
 private void frmPriceInquiry_Load(object sender, EventArgs e)
 {
     mspTool.Get_GridControl(this.Name, gc_PriceInQuery);
     _list_UnitsDTO           = _repository.Run <DepotStockService, List <UnitsDTO> >(x => x.GetListUnit());
     rp_KdvOran.DataSource    = KdvOrani;
     rp_KdvOran.DisplayMember = "Value";
     rp_KdvOran.ValueMember   = "Id";
     bs_Unit.DataSource       = _list_UnitsDTO;
     try
     {
         if (_parameters.IsBarcode.GetValueOrDefault())
         {
             if (!(serialPort1.IsOpen))
             {
                 serialPort1.Open();
             }
             serialPort1.DataReceived += new SerialDataReceivedEventHandler(serialPort1_DataReceived);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("Okutma Cihazına Erişilemiyor : " + ex.Message, "Error!");
     }
 }
예제 #5
0
 private void frmoncomingProduct_Load(object sender, EventArgs e)
 {
     mspTool.Get_GridControl(this.Name, gridControl1);
 }
예제 #6
0
        private void CurrentTransactions_Load(object sender, EventArgs e)
        {
            do_refresh();

            mspTool.Get_GridControl(this.Name, gcvCurTransaction);
        }
예제 #7
0
 private void frmDepo_Load(object sender, EventArgs e)
 {
     do_refresh();
     mspTool.Get_GridControl(this.Name, gridControl1);
 }
예제 #8
0
 private void FrmCompany_Load(object sender, EventArgs e)
 {
     do_refresh();
     mspTool.Get_GridControl(this.Name, gc_company);
 }
예제 #9
0
 private void frmPaymnetList_Load(object sender, EventArgs e)
 {
     do_refresh();
     oTool.Get_GridControl(this.Name, gridControl1);
 }
예제 #10
0
 private void frmCustomer_Load(object sender, EventArgs e)
 {
     do_refresh();
     mspTool.Get_GridControl(this.Name, grdCustomers);
 }
예제 #11
0
        private void frmBirimTanim_Load(object sender, EventArgs e)
        {
            do_refresh();

            mspTool.Get_GridControl(this.Name, gc_Unit);
        }