private void openToolStripMenuItem_Click(object sender, EventArgs e)
{
OpenFileDialog openFileDialog1 = new OpenFileDialog();
openFileDialog1.Filter = "ASTERIX Analyser Files|*.rply";
openFileDialog1.InitialDirectory = "Application.StartupPath";
openFileDialog1.Title = "Open File to Read";
if (openFileDialog1.ShowDialog() != DialogResult.Cancel)
{
this.labelSourceFile.Text = openFileDialog1.FileName;
this.lblFileSize.Text = new System.IO.FileInfo(openFileDialog1.FileName).Length.ToString() + " Bytes";
}
}