private void DogEventResultsToolStripMenuItem_Click( object sender, EventArgs e ) { using( var dlg = new DogEventResultsForm( SelectedDogEvent ) ) { dlg.ShowDialog( this ); } }
private void DogEventResultsButton_Click( object sender, EventArgs e ) { if( CurrentDog == null ) return; using( var dlg = new DogEventResultsForm( CurrentDog ) ) { dlg.ShowDialog( this ); } }