Beispiel #1
0
        public bool openDocument(String fileName)
        {
            cMouseWait mouse = new cMouseWait();

            try
            {
                if (!m_report.loadSilent(fileName))
                {
                    return(false);
                }

                m_report.getLaunchInfo().setStrConnect(m_database);

                Application.DoEvents();

                return(true);
            }
            catch (Exception ex)
            {
                return(false);
            }
            finally
            {
                mouse.Dispose();
            }
        }