private void Form1_Load(object sender, EventArgs e) { textBox1.ReadOnly = true; folderBrowserDialog1.SelectedPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); this.openFileDialog1.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); this.openFileDialog1.FileName = string.Empty; this.openFileDialog1.Title = EasyResXResources.MergeFileDialogTitle; toolStripStatusLabel.Text = EasyResXResources.ReadyMessage; patterns = new List <string>(EasyResXConfiguration.CurrentConfig.OperatedFolders); OnProcessingEnded += new ProcessingEndedEventHandler(Form1_OnProcessingEnded); saveFileDlg.FileOk += new CancelEventHandler(saveFileDlg_FileOk); }
private void Form1_Load(object sender, EventArgs e) { textBox1.ReadOnly = true; folderBrowserDialog1.SelectedPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); this.openFileDialog1.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); this.openFileDialog1.FileName = string.Empty; this.openFileDialog1.Title = EasyResXResources.MergeFileDialogTitle; toolStripStatusLabel.Text = EasyResXResources.ReadyMessage; patterns = new List<string>(EasyResXConfiguration.CurrentConfig.OperatedFolders); OnProcessingEnded += new ProcessingEndedEventHandler(Form1_OnProcessingEnded); saveFileDlg.FileOk +=new CancelEventHandler(saveFileDlg_FileOk); }