Esempio n. 1
0
        private void buttonFailureTemplate_Click(object sender, EventArgs e)
        {
            MessageProcessType mpt      = (MessageProcessType)this.comboBoxProcessingType.SelectedIndex;
            string             fileName = Program.Context.ConfigMgr.Config.GetPublishingFailureXSLTFileNameWithFullPath();
            //string fileName = (mpt == MessageProcessType.OtherXML) ?
            //    Program.Context.ConfigMgr.Config.GetPublishingFailureXSLTFileNameWithFullPath() :
            //    Program.Context.ConfigMgr.Config.GetHL7AckAETemplateFileNameWithFullPath();
            Process proc = Process.Start("notepad.exe", "\"" + fileName + "\"");

            proc.EnableRaisingEvents = false;
        }
Esempio n. 2
0
        private void comboBoxProcessingType_SelectedIndexChanged(object sender, EventArgs e)
        {
            MessageProcessType mpt = (MessageProcessType)this.comboBoxProcessingType.SelectedIndex;

            this.buttonDispatch.Enabled = (mpt != MessageProcessType.HL7v2Text);
        }