コード例 #1
0
        public ConfigForm()
        {
            InitializeComponent();

            try
            {
                this.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgText");

                this.btnLoadConfig.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgConfigFiles");
                this.btnOpenConfigLoc.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgOpenLoc");
                this.btnOpenLogLoc.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgOpenLoc");
                this.label1.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgFilePath");
                this.btnPreviewLoaded.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgPreview");
                this.btnPreview.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgPreview");
                this.btnPrevLog.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgPreview");
                this.lblConfig.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgLoadedConfig");
                this.gpBxconfigFiles.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgConfigFiles");
                this.gpBxLog.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgLogFile");
                this.label2.Text = A4LGSharedFunctions.Localizer.GetString("ConfigDlgNote");
            }
            catch
            { }
            initForm();

            m_ReloadMonitor = new ReloadMonitor();
            if (m_ReloadMonitor == null)
                MessageBox.Show("Reloading config file is not enabled, error in event handler");
        }
コード例 #2
0
        public ConfigForm()
        {
            InitializeComponent();
            initForm();

            m_ReloadMonitor = new ReloadMonitor();
            if (m_ReloadMonitor == null)
                MessageBox.Show("Reloading config file is not enabled, error in event handler");
        }