Ejemplo n.º 1
0
        public override void Open(INavigator i_Navigator)
        {
            PictureForm form = new PictureForm();

            form.Photo = Photo;
            form.ShowDialog();
        }
Ejemplo n.º 2
0
        private void photo_Click(object sender, EventArgs e)
        {
            PictureBox pictureBox = (PictureBox)sender;
            Photo      photo      = (Photo)pictureBox.Tag;

            PictureForm pictureForm = new PictureForm();

            pictureForm.Photo = photo;
            pictureForm.ShowDialog(this);
        }