Beispiel #1
0
        /// <summary>
        /// Отобразить форму модально
        /// </summary>
        public static void ShowDialog(AppDirs appDirs)
        {
            if (appDirs == null)
            {
                throw new ArgumentNullException("appDirs");
            }

            FrmPhonebook frmPhonebook = new FrmPhonebook();

            frmPhonebook.appDirs = appDirs;
            frmPhonebook.ShowDialog();
        }
Beispiel #2
0
        /// <summary>
        /// Отобразить форму модально
        /// </summary>
        public static void ShowDialog(AppDirs appDirs)
        {
            if (appDirs == null)
                throw new ArgumentNullException("appDirs");

            FrmPhonebook frmPhonebook = new FrmPhonebook();
            frmPhonebook.appDirs = appDirs;
            frmPhonebook.ShowDialog();
        }