private void propertiesButton_Click(object sender, EventArgs e)
 {
     using (AntProperties properties = new AntProperties(SelectedPlayer))
     {
         properties.ShowDialog(this);
     }
 }
示例#2
0
        private void detailsButton_Click(object sender, EventArgs e)
        {
            AntProperties properties = new AntProperties(playerInfo);

            properties.ShowDialog(this);
        }