예제 #1
0
        public ConfigurationWindow()
        {
            InitializeComponent();
            Dictionary <string, string> settingsStringResourcesDic = new Dictionary <string, string>();

            settingsStringResourcesDic.Add("Software_Name", "Assembly Software");
            settingsStringResourcesDic.Add("RestartApplication_Text", "Resatart");
            settingsStringResourcesDic.Add("ImageViewer_Save_Button_Text", "Save");
            Settings_UCL settings = new Settings_UCL(settingsStringResourcesDic);

            settings.Dock = DockStyle.Fill;
            this.Text     = "Settings";
            this.Controls.Add(settings);
        }
예제 #2
0
        public SettingsWindow()
        {
            InitializeComponent();
            Dictionary <string, string> settingsStringResourcesDic = new Dictionary <string, string>();

            settingsStringResourcesDic.Add("Software_Name", IVLVariables.LangResourceManager.GetString("Software_Name", IVLVariables.LangResourceCultureInfo));
            settingsStringResourcesDic.Add("RestartApplication_Text", IVLVariables.LangResourceManager.GetString("RestartApplication_Text", IVLVariables.LangResourceCultureInfo));
            settingsStringResourcesDic.Add("ImageViewer_Save_Button_Text", IVLVariables.LangResourceManager.GetString("ImageViewer_Save_Button_Text", IVLVariables.LangResourceCultureInfo));
            Settings_UCL settings = new Settings_UCL(settingsStringResourcesDic);

            settings.Dock = DockStyle.Fill;
            this.Text     = IVLVariables.LangResourceManager.GetString("IvlSettings_Text", IVLVariables.LangResourceCultureInfo);
            this.Controls.Add(settings);
        }