Exemplo n.º 1
0
        public Form1()
        {
            InitializeComponent();
            customProgressBar1 = new CustomProgressBar();
            customProgressBar1.DisplayStyle = ProgressBarDisplayText.Percentage;
            customProgressBar1.Value        = 0;
            customProgressBar1.SetBounds(23, 120, 505, 25);
            customProgressBar1.Visible = false;

            localization = new Localization();

            button_exit.Text      = localization.GetValueForItem(LocalizedItem.ButtonExit);
            button_decompose.Text = localization.GetValueForItem(LocalizedItem.ButtonDecompose);
            label_file.Text       = localization.GetValueForItem(LocalizedItem.TextFile);
            label_destFolder.Text = localization.GetValueForItem(LocalizedItem.TextDestFolder);
            label_autor.Text      = localization.GetValueForItem(LocalizedItem.TextAuthor);
        }
Exemplo n.º 2
0
        public Form1()
        {
            InitializeComponent();
            customProgressBar1 = new CustomProgressBar();
            customProgressBar1.DisplayStyle = ProgressBarDisplayText.Percentage;
            customProgressBar1.Value        = 0;
            customProgressBar1.SetBounds(23, 414, 505, 25);
            customProgressBar1.Visible = false;

            localization = new Localization();

            button_exit.Text          = localization.GetValueForItem(LocalizedItem.ButtonExit);
            button_clear.Text         = localization.GetValueForItem(LocalizedItem.ButtonClear);
            button_search.Text        = localization.GetValueForItem(LocalizedItem.ButtonSearch);
            label_folder.Text         = localization.GetValueForItem(LocalizedItem.TextFolder);
            label_phrase.Text         = localization.GetValueForItem(LocalizedItem.TextPhrase);
            label_results.Text        = localization.GetValueForItem(LocalizedItem.TextResults);
            label_autor.Text          = localization.GetValueForItem(LocalizedItem.TextAuthor);
            checkBox_foundOnly.Text   = localization.GetValueForItem(LocalizedItem.TextShowFoundOnly);
            listView1.Columns[0].Text = localization.GetValueForItem(LocalizedItem.TextPdfDocument);
            listView1.Columns[1].Text = localization.GetValueForItem(LocalizedItem.TextPages);
        }