private void buttonSelectFile_Click(object sender, RoutedEventArgs e) { if (this.SelectFile != null) { this.SelectFile(this, EventArgs.Empty); } }