Пример #1
0
 public void AddApply()
 {
     LstApply.Add("Nova Aplicação.");
     SelIndex = LstApply.Count() - 1;
     FirePropertyChanged("DocBlank");
     FirePropertyChanged("TextIsEnabled");
     MTParser.WritePatch(_objPatch);
 }
Пример #2
0
        public void RemoveSelectedApply()
        {
            if (LstApply.Count() >= 1)
            {
                LstApply.RemoveAt(SelIndex);
                if (SelIndex > (LstApply.Count() - 1))
                {
                    SelIndex = (SelIndex - 1);
                }
                else
                {
                    SelIndex = (LstApply.Count() - 1);
                }

                FirePropertyChanged("DocBlank");
                FirePropertyChanged("TextIsEnabled");
                MTParser.WritePatch(_objPatch);
            }
        }