Ejemplo n.º 1
0
        private void Initialize()
        {
            Text = Globals.LanguageManager.GetString("SaveOptions_Title");

            LabelDestination.Text = Globals.LanguageManager.GetString("SaveOptions_Destination");
            LabelReleaseDate.Text = Globals.LanguageManager.GetString("SaveOptions_ReleaseDate");

            ButtonCancel.Text = Globals.LanguageManager.GetString("SaveOptions_Button_Cancel");
            ButtonSave.Text   = Globals.LanguageManager.GetString("SaveOptions_Button_Save");

            DateTimePicker.Value = DateTime.Now;

            InvalidPath.SetToolTip(TextDestination, Globals.LanguageManager.GetString("SaveOptions_ToolTip_Title"));
        }
Ejemplo n.º 2
0
        private void Initialize()
        {
            Text = Globals.LanguageManager.GetString("AddFile_Title");

            LabelFiles.Text          = Globals.LanguageManager.GetString("AddFile_File");
            LabelInnerDirectory.Text = Globals.LanguageManager.GetString("AddFile_InnerDirectory");
            LabelCompression.Text    = Globals.LanguageManager.GetString("AddFile_Compression");

            ButtonCancel.Text = Globals.LanguageManager.GetString("AddFile_Button_Cancel");
            ButtonAdd.Text    = Globals.LanguageManager.GetString("AddFile_Button_Add");

            OpenFileDialog.Title = Globals.LanguageManager.GetString("AddFile_Dialog_Title");

            TextInnerDirectory.Items.AddRange(Globals.Settings.InnerDirectoryOptions.ToArray());
            TextInnerDirectory.SelectedIndex = 0;

            TextCompression.Items.AddRange(Enum.GetNames(typeof(CompressionFlag)));
            TextCompression.SelectedIndex = 0;

            InvalidPath.SetToolTip(TextFiles, Globals.LanguageManager.GetString("AddFile_ToolTip_Title"));
        }