Ejemplo n.º 1
0
 private void btnSelectLocation_Click(object sender, EventArgs e)
 {
     frmAddLocation SelectLocation = new frmAddLocation("Special Encounter - Select a location", "Choose a location that you want to use for special encounter:", Locations, true);
     SelectLocation.ShowDialog();
     if (!SelectLocation.Selected)
         return;
     this.Loc = SelectLocation.Loc;
     txtLocation.Text = Loc.Name;
 }
        private void btnSelectLocation_Click(object sender, EventArgs e)
        {
            frmAddLocation SelectLocation = new frmAddLocation("Special Encounter - Select a location", "Choose a location that you want to use for special encounter:", Locations, true);

            SelectLocation.ShowDialog();
            if (!SelectLocation.Selected)
            {
                return;
            }
            this.Loc         = SelectLocation.Loc;
            txtLocation.Text = Loc.Name;
        }
Ejemplo n.º 3
0
 private void addLocationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AddLocation.Locations = worldmap.GetLocations();
     AddLocation.ShowDialog();
 }