Exemplo n.º 1
0
        private void historyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (_tfsTree.SelectedNode != null)
            {
                Item item = _tfsTree.SelectedNode.Tag as Item;

                if (item != null)
                {
                    HistoryForm hf = new HistoryForm();
                    hf.setPath(Properties.Settings.Default.TFSServer, item, (int)_limitN.Value);
                    hf.Show();
                }
            }
        }
Exemplo n.º 2
0
        private void historyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TreeNode node = treeView1.SelectedNode;

            if (node != null)
            {
                Item item = node.Tag as Item;

                if (item != null)
                {
                    HistoryForm hf = new HistoryForm();
                    hf.setPath(_vcs.TeamFoundationServer.Name, item, _maxChanges, _distance);
                    hf.Show();
                }
            }
        }