Пример #1
0
 //store value below
 public AllPictures(GameDesignForm designForm)
 {
     this.Image      = PYuAssignment2.Properties.Resources.grey;
     this.designForm = designForm;
     this.Height     = 86;
     this.Width      = 86;
     this.SizeMode   = PictureBoxSizeMode.StretchImage;
 }
Пример #2
0
        // go to the design form on click
        private void btnDesign_Click(object sender, EventArgs e)
        {
            GameDesignForm designForm = new GameDesignForm();

            designForm.Show();
        }