Пример #1
0
        private void CopyButton_Click(object sender, EventArgs e)
        {
            Util.UserDebug("Copy Button Clicked in Relationship");
            IList<string> moLoca = m_FTObjects.GetLocationsInMonitorGroup();

            CopyVersionForm copyForm = new CopyVersionForm(moLoca);
            copyForm.ShowDialog();
            if (copyForm.DialogResult == DialogResult.OK)
            {
                Dictionary<string, string> ToLocations = copyForm.CopyLocFromExtLoc;
                m_FTObjects.CopyVersion(this.m_VersionInfo.versionName, ToLocations);
            }
        }
Пример #2
0
        private void showCopyDlgForDBlClk(object locat)
        {
            if (this.InvokeRequired)
            {
                this.Invoke(new VoidObjDelegate(showCopyDlgForDBlClk), new object[] { locat });
                return;
            }
            string selectedFile = (string)locat;
            List<string> moLoca = new List<string>();
            moLoca.Add(selectedFile);
            CopyVersionForm copyForm = new CopyVersionForm(moLoca);
            copyForm.ShowDialog(this);
            if (copyForm.DialogResult == DialogResult.OK)
            {
                //   Dictionary<string, string> ToLocations = copyForm.CopyLocFromExtLoc;
                //   m_FTObjects.CopyVersion(this.m_VersionInfo.versionName, ToLocations);

                new Thread(new ParameterizedThreadStart(HandleCopy)).Start(copyForm);
            }
        }
Пример #3
0
        void CopyButton_Click(object sender, EventArgs e)
        {
            IList<string> moLoca = m_FTObjects.GetLocationsInMonitorGroup();

            CopyVersionForm copyForm = new CopyVersionForm(moLoca);
            copyForm.ShowDialog();
            Dictionary<string, string> ToLocations = copyForm.CopyLocFromExtLoc;
            m_FTObjects.CopyVersion(this.m_VersionInfo.versionName, ToLocations);
        }