Esempio n. 1
0
        public FormTest()
        {
            InitializeComponent();

            _logger    = new VirtualLogger(this);
            _sender    = new VirtualMessageSender(this);
            _controler = new MessagePipeControler(_sender, _logger);
            _controler.InitializeChannels();

            _ctlRcvIn = new XmlTabControlControler(tabControlRevIn,
                                                   tabPageRevInPlain, textBoxRevIn, tabPageRevInTree, webBrowserRevIn);
            _ctlRcvOut = new XmlTabControlControler(tabControlRevOut,
                                                    tabPageRevOutPlain, textBoxRevOut, tabPageRevOutTree, webBrowserRevOut);
            _ctlSndOut = new XmlTabControlControler(tabControlSndOut,
                                                    tabPageSndOutPlain, textBoxSndOut, tabPageSndOutTree, webBrowserSndOut);
            _ctlSndIn = new XmlTabControlControler(tabControlSndIn,
                                                   tabPageSndInPlain, textBoxSndIn, tabPageSndInTree, webBrowserSndIn);

            _ctrlSampleMsg = new FileComboBoxControler(this.comboBoxMsg,
                                                       Path.Combine(Application.StartupPath, "SampleMessages"), true);
            _ctrlSampleMsg.ItemSelected += delegate(FileComboBoxItem item)
            {
                _ctlRcvIn.Open(item.FileContent);
            };
            _ctrlSampleMsg.SelectTheFirstItem();
        }
Esempio n. 2
0
 public FormHL7V2XML()
 {
     _log = new VirtualLogger(this);
     InitializeComponent();
     LoadTypes();
 }
Esempio n. 3
0
 public FormXMLTOXML()
 {
     _log = new VirtualLogger(this);
     InitializeComponent();
 }