Example #1
0
 private void OnCommunication()
 {
     frmOfficialCommunication = new OVRCommunicationForm();
     frmOfficialCommunication.DatabaseConnection = SqlCon;
     frmOfficialCommunication.VenueCode          = m_strVenueCode;
     frmOfficialCommunication.Module2FrameEvent += new OVRModule2FrameEventHandler(OnModuleEvent);
 }
Example #2
0
        private void OnCommunicationClick(object sender, EventArgs e)
        {
            OVRCommunicationForm frmOfficialCommunication = new OVRCommunicationForm();

            frmOfficialCommunication.DatabaseConnection = SqlCon;
            frmOfficialCommunication.VenueCode          = m_strVenueCode;
            frmOfficialCommunication.Module2FrameEvent += new OVRModule2FrameEventHandler(OnModuleEvent);

            frmOfficialCommunication.ShowDialog();

            // Force Report Print Module to update its parameters
            if (m_frmReportPrinting.Visible)
            {
                CurrentModuleChanged();
            }
        }