Esempio n. 1
0
        private void navigationPicBox_Click(object sender, EventArgs e)
        {
            string objective = "Navigation";
            var    objChoose = new ObjectiveChoser(objective);

            objChoose.ShowDialog(this); //Ждём закрытия ObjectiveChoser
            if (picPasser == null)
            {
            }
            else
            {
                navigationPicBox.Image = picPasser;
                navigationPicBox.Update();
                picPasser = null;
            }
        }
Esempio n. 2
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            string objective = "Assault";
            var    objChoose = new ObjectiveChoser(objective);

            objChoose.ShowDialog(this); //Ждём закрытия ObjectiveChoser
            if (picPasser == null)
            {
            }
            else
            {
                assaultPicBox.Image = picPasser;
                assaultPicBox.Update();
                picPasser = null;
            }
        }