示例#1
0
        private void ShowPrograms()
        {
            try
            {
                if (!CheckIsOpened())
                {
                    return;
                }

                var form = new ProgramsForm(ref _prg, PrgPath);

                form.MdiParent = this;
                form.Show();
            }
            catch (Exception exception)
            {
                MessageBoxUtilities.ShowException(exception);
            }
        }
示例#2
0
        private void ShowPrograms()
        {
            try
            {
                if (!CheckIsOpened())
                {
                    return;
                }

                var form = new ProgramsForm(ref _prg, PrgPath);

                form.MdiParent = this;
                form.Show();
            }
            catch (Exception ex)
            {
                ExceptionHandler.Show(ex, Resources.ShowProgramException);
            }
        }