示例#1
0
        private void CreateNewSpecies(object sender, EventArgs e)
        {
            var newSpecies = new DetailForm(null);

            newSpecies.ShowDialog();
        }
示例#2
0
        private void ViewClick(object sender, EventArgs e)
        {
            var details = new DetailForm((Species)speciesBox.SelectedItem);

            details.ShowDialog();
        }