예제 #1
0
        private void ViewButton_Click(object sender, EventArgs e)
        {
            FileDescription description = (FileDescription)ChannelSettingList.SelectedItem;
            List<ChannelSetting> channelSettings = DataCenter.Instance().ChannelSettings[description.ID];

            ChannelSettingDetailForm channelSettingForm = new ChannelSettingDetailForm(channelSettings);
            channelSettingForm.Text = "Channel Setting - " + description.Title;
            channelSettingForm.ShowDialog();
        }
예제 #2
0
        void ChannelSettingManagementForm_onUploadFileSuccessfully(HTTPAgent.FileType type, WatsEMIAnalyzer.Bindings.FileDescription description, byte[] parseData)
        {
            DataCenter.Instance().ChannelSettings[description.ID] = Utility.Deserailize<List<ChannelSetting>>(parseData);
            DataCenter.Instance().ChannelSettingDescriptions[description.ID] = description;
            ChannelSettingList.Items.Add(description);
            ViewButton.Enabled = RemoveButton.Enabled = (ChannelSettingList.SelectedItems.Count > 0);

            ChannelSettingDetailForm detailForm = new ChannelSettingDetailForm(DataCenter.Instance().ChannelSettings[description.ID]);
            detailForm.ShowDialog();
        }
예제 #3
0
 private void ChannelSettingDetailButton_Click(object sender, EventArgs e)
 {
     ChannelSettingDetailForm channelSettingDetailForm = new ChannelSettingDetailForm(mChannelSettings);
     channelSettingDetailForm.ShowDialog();
 }
예제 #4
0
 private void ChannelSettingDetailButton_Click(object sender, EventArgs e)
 {
     ChannelSettingDetailForm channelSettingForm = new ChannelSettingDetailForm(DataCenter.Instance().ChannelSettings[mChannelSettingID]);
     channelSettingForm.ShowDialog();
 }
예제 #5
0
 private void ChannelDetailToolStripMenuItem_Click(object sender, EventArgs e)
 {
     long channelID = ((ChannelModel)WorkspaceTreeView.SelectedNode.Tag).ID;
     ChannelSettingDetailForm channelSettingForm = new ChannelSettingDetailForm(DataCenter.Instance().ChannelSettings[channelID]);
     channelSettingForm.ShowDialog();
 }