Exemple #1
0
 private void LinkConfigrationDetailButton_Click(object sender, EventArgs e)
 {
     LinkConfigurationDetailForm linkConfigurationForm = new LinkConfigurationDetailForm(DataCenter.Instance().LinkConfigurations[mLinkConfigurationID]);
     linkConfigurationForm.ShowDialog();
 }
        private void ViewButton_Click(object sender, EventArgs e)
        {
            FileDescription description = (FileDescription)LinkConfigurationList.SelectedItem;
            List<LinkConfiguration> linkConfigurations = DataCenter.Instance().LinkConfigurations[description.ID];

            LinkConfigurationDetailForm configurationform = new LinkConfigurationDetailForm(linkConfigurations);
            configurationform.Text = "Link Configuration - " + description.Title;
            configurationform.ShowDialog();
        }
Exemple #3
0
 private void LinkDetailToolStripMenuItem_Click(object sender, EventArgs e)
 {
     long linkID = ((LinkModel)WorkspaceTreeView.SelectedNode.Tag).ID;
     LinkConfigurationDetailForm linkConfigurationForm = new LinkConfigurationDetailForm(DataCenter.Instance().LinkConfigurations[linkID]);
     linkConfigurationForm.ShowDialog();
 }
        void LinkConfigurationManagementForm_onUploadFileSuccessfully(HTTPAgent.FileType type, WatsEMIAnalyzer.Bindings.FileDescription description, byte[] parseData)
        {
            DataCenter.Instance().LinkConfigurations[description.ID] = Utility.Deserailize<List<LinkConfiguration>>(parseData);
            DataCenter.Instance().LinkConfigurationDescriptions[description.ID] = description;
            LinkConfigurationList.Items.Add(description);
            ViewButton.Enabled = RemoveButton.Enabled = (LinkConfigurationList.SelectedItems.Count > 0);

            LinkConfigurationDetailForm detailForm = new LinkConfigurationDetailForm(DataCenter.Instance().LinkConfigurations[description.ID]);
            detailForm.ShowDialog();
        }