Exemplo n.º 1
0
 private void FormInsFilingCodeEdit_Load(object sender, System.EventArgs e)
 {
     textDescription.Text = InsFilingCodeCur.Descript;
     textEclaimCode.Text  = InsFilingCodeCur.EclaimCode;
     comboGroup.Items.AddDefNone();
     comboGroup.Items.AddDefs(Defs.GetDefsForCategory(DefCat.InsuranceFilingCodeGroup, true));
     comboGroup.SetSelectedDefNum(InsFilingCodeCur.GroupType);
     FillGrid();
 }
Exemplo n.º 2
0
        private void SelectImageCat()
        {
            long defNumLetter = 0;

            if (listLetters.Items.Count > 0 && listLetters.SelectedIndex >= 0)
            {
                LetterMerge letterMergeSelected = ListForCat[listLetters.SelectedIndex];
                if (letterMergeSelected != null)
                {
                    defNumLetter = letterMergeSelected.ImageFolder;
                }
            }
            comboImageCategory.SetSelectedDefNum(defNumLetter);
        }
Exemplo n.º 3
0
 private void FormLetterMergeEdit_Load(object sender, System.EventArgs e)
 {
     textDescription.Text    = LetterMergeCur.Description;
     mergePath               = PrefC.GetString(PrefName.LetterMergePath);
     textPath.Text           = mergePath;
     textTemplateName.Text   = LetterMergeCur.TemplateName;
     textDataFileName.Text   = LetterMergeCur.DataFileName;
     _listLetterMergeCatDefs = Defs.GetDefsForCategory(DefCat.LetterMergeCats, true);
     for (int i = 0; i < _listLetterMergeCatDefs.Count; i++)
     {
         comboCategory.Items.Add(_listLetterMergeCatDefs[i].ItemName);
         if (LetterMergeCur.Category == _listLetterMergeCatDefs[i].DefNum)
         {
             comboCategory.SelectedIndex = i;
         }
     }
     comboImageFolder.Items.Clear();
     comboImageFolder.Items.AddDefNone();
     comboImageFolder.Items.AddDefs(Defs.GetDefsForCategory(DefCat.ImageCats, true));
     comboImageFolder.SetSelectedDefNum(LetterMergeCur.ImageFolder);
     FillPatSelect();
     FillListReferral();
     FillListOther();
 }