Beispiel #1
0
 public VCServerPathNodeViewModel(Item item, int latestRevision, VCServerPathViewModel container)
 {
     m_container = container;
     m_item      = item;
     if (m_item != null)
     {
         Type = NodeType.Folder;
     }
     m_latestRevision = latestRevision;
 }
Beispiel #2
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();
        }
Beispiel #3
0
 public VCServerPathRootViewModel(Item item, int latestRevision, VCServerPathViewModel container)
     : base(item, latestRevision, container)
 {
     Type = NodeType.Root;
 }