Ejemplo n.º 1
0
        /// <summary>
        /// Отобразить форму о программе
        /// </summary>
        public static void ShowAbout(string exeDir, Log errLog)
        {
            if (exeDir == null)
            {
                throw new ArgumentNullException("exeDir");
            }
            if (errLog == null)
            {
                throw new ArgumentNullException("errLog");
            }

            if (frmAbout == null)
            {
                frmAbout        = new FrmAbout();
                frmAbout.exeDir = exeDir;
                frmAbout.errLog = errLog;
            }

            frmAbout.Init();
            frmAbout.ShowDialog();
        }