Exemple #1
0
        internal VCServerPathDialog(FilterItem filterItem, MigrationSource migrationSource)
        {
            InitializeComponent();

            m_vcServerPathViewModel = new VCServerPathViewModel(filterItem, migrationSource);
            m_vcServerPathViewModel.Initialize();

            this.Closed += new EventHandler(VCServerPathDialog_Closed);

            DataContext = m_vcServerPathViewModel;

            rootTreeView.Focus();
        }
Exemple #2
0
 public VCServerPathNodeViewModel(Item item, VCServerPathViewModel container)
 {
     m_container = container;
     m_item      = item;
     if (m_item != null)
     {
         if (m_item.IsBranch)
         {
             Type = NodeType.Branch;
         }
         else
         {
             Type = NodeType.Folder;
         }
     }
 }
Exemple #3
0
 public VCServerPathRootViewModel(Item item, VCServerPathViewModel container)
     : base(item, container)
 {
     Type = NodeType.Root;
 }