Exemple #1
0
        private void ShowChangeImpact(object sender, EventArgs e)
        {
            //
            // Get selected document from tree
            //
            TreeNode docSelected      = tvFileList.SelectedNode;
            Document treeSelectedDoco = new Document();

            treeSelectedDoco = (Document)docSelected.Tag; // Cast

            // If current tree selected item is a document
            // issue an error saying that only folder can hold
            // an item
            if (treeSelectedDoco.RecordType != FCMConstant.RecordType.DOCUMENT)
            {
                MessageBox.Show("Only documents have issues/ versions.");
                return;
            }

            UIImpactedDocuments uid = new UIImpactedDocuments(treeSelectedDoco);

            uid.ShowDialog();
        }
Exemple #2
0
        private void miImpactedDocuments(object sender, EventArgs e)
        {
            UIImpactedDocuments uiimpactedDocuments = new UIImpactedDocuments();

            uiimpactedDocuments.Show();
        }