Ejemplo n.º 1
0
        private void onModifyCondition()
        {
            int lIndex = 0;
            foreach (TaxPayerSearchEntity lTaxPayerSearchEntity in TaxPayerSearchEntitis)
            {
                if (lTaxPayerSearchEntity == SelectTaxPayerSearchEntity)
                {
                    break;
                }
                lIndex++;
            }

            bool lIsFirst = true;
            if (lIndex > 0)
            {
                lIsFirst = false;
            }

            AddSearchWindow lAddSearchWindow = new AddSearchWindow(GroupID, lIsFirst, TaxPayerTypeList);

            lAddSearchWindow.SetTaxPayerSearchEntity(SelectTaxPayerSearchEntity);
            lAddSearchWindow.Closed += new EventHandler(lAddSearchWindow_ClosedModify);
            lAddSearchWindow.Show();
        }
Ejemplo n.º 2
0
 private void onAddCondition()
 {
     bool lIsFirst = true;
     if(TaxPayerSearchEntitis.Count > 0)
     {
         lIsFirst = false;
     }
     AddSearchWindow lAddSearchWindow = new AddSearchWindow(GroupID, lIsFirst, TaxPayerTypeList);
     lAddSearchWindow.Closed += new EventHandler(lAddSearchWindow_Closed);
     lAddSearchWindow.Show();
 }