Exemplo n.º 1
0
 private void CreateApropiatePartControl(VmIVRMenuElementBase menubase)
 {
     if (menubase is VmIVRMenuElementVoiceMessageRecorder)
     {
         UCMenuSpecificPart = new UcVoiceMessageRecorderProperties();
     }
     else if (menubase is VmIVRMenuElementCallTransfer)
     {
         UCMenuSpecificPart = new UcCallTransferProperties();
     }
 }
 protected VmIVRMenuElementBase(VmIVRMenuElementBase original)
 {
     Id = original.Id;
     Name = original.Name;
     TypeText = original.TypeText;
     TouchToneKey = original.TouchToneKey;
     Introduction = original.Introduction;
     AudioFile = original.AudioFile;
     NarratorType = original.NarratorType;
     ChildMenus = new List<VmIVRMenuElementBase>(original.ChildMenus);
     Parent = original.Parent;
 }
Exemplo n.º 3
0
 protected VmIVRMenuElementBase(VmIVRMenuElementBase original)
 {
     Id           = original.Id;
     Name         = original.Name;
     TypeText     = original.TypeText;
     TouchToneKey = original.TouchToneKey;
     Introduction = original.Introduction;
     AudioFile    = original.AudioFile;
     NarratorType = original.NarratorType;
     ChildMenus   = new List <VmIVRMenuElementBase>(original.ChildMenus);
     Parent       = original.Parent;
 }
 private TreeViewItem CreateTreeNodeItem(VmIVRMenuElementBase menu)
 {
     TreeViewItem cur = new TreeViewItem();
     cur.Header = menu;
     return cur;
 }
Exemplo n.º 5
0
 public VmProperties(VmIVRMenuElementBase menu)
 {
     CurrentIVRMenu = menu;
 }
 public UcMenuProperties(VmIVRMenuElementBase menu)
 {
     DataContext = new VmProperties(menu);
     InitializeComponent();
 }