示例#1
0
        private void BtnRecvNotice_Connection_Click(object sender, EventArgs e)
        {
            var connectionNode    = tvQpInstructions.SelectedNode;
            var connectionContext = connectionNode.Tag as ConnectionContext;

            if (connectionContext == null)
            {
                return;
            }

            var form = new Forms.NoticeRecvForm(connectionContext);

            form.Show();
        }
示例#2
0
        private void BtnRecvNotice_Notice_Click(object sender, EventArgs e)
        {
            var noticeNode   = tvQpInstructions.SelectedNode;
            var qpNoticeInfo = noticeNode.Tag as QpNoticeInfo;

            if (qpNoticeInfo == null)
            {
                return;
            }

            ConnectionContext connectionContext = findConnectionContext(noticeNode);
            var form = new Forms.NoticeRecvForm(connectionContext, qpNoticeInfo);

            form.Show();
        }