Example #1
0
        /// <summary>
        /// Searching Forest and setting the type to "forest"
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonForest1_Click(object sender, EventArgs e)
        {
            Location location = new Location();

            if (location.Search() == true)
            {
                type = "forest";
                FormFound formFound = new FormFound(this);
                formFound.type = type;
                formFound.Show();
            }
        }
Example #2
0
 public FormFight(FormFound formFound)
 {
     InitializeComponent();
     this.formFound = formFound;
 }