コード例 #1
0
ファイル: usrc_PriceList.cs プロジェクト: dstrucl/Tangenta40
 public void PriceList_Edit(bool bEditUndefined,NavigationButtons.Navigation xnav)
 {
     string Err = null;
     int xPriceListType_Count = 0;
     Form_PriceList_Edit PriceList_Edit_dlg = new Form_PriceList_Edit(bEditUndefined, m_eShopType, xnav);
     if (PriceList_Edit_dlg.ShowDialog() == DialogResult.OK)
     {
         if (m_xPriceList.Get_PriceLists_of_Currency(m_Currency_ID, ref xPriceListType_Count, ref Err))
         {
             if (xPriceListType_Count > 0)
             {
                 cmb_PriceListType.DataSource = m_xPriceList.List_xPriceList;
                 cmb_PriceListType.DisplayMember = "xPriceList_Name";
                 cmb_PriceListType.ValueMember = "xPriceList_ID";
             }
         }
         else
         {
             LogFile.Error.Show(Err);
         }
     }
 }