Beispiel #1
0
        private void VerticalBPictureBox_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (e.Button != MouseButtons.Left || VerticalBPictureBox.ImageLocation == null)
                return;

            PictureForm form = new PictureForm();
            form.ImageLocation = VerticalBPictureBox.ImageLocation;
            form.Title = VerticalBLabel.Text;
            form.ShowDialog();
        }
        private void VerticalPictureBox_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (e.Button != MouseButtons.Left || VerticalPictureBox.ImageLocation == null)
                return;

            PictureForm form = new PictureForm();
            form.Title = ((BitMapInfo)VerticalPictureBox.Tag).Title1;
            form.ImageLocation = VerticalPictureBox.ImageLocation;
            form.Width = 700;
            form.Height = 780;
            form.ShowDialog();
        }
Beispiel #3
0
        private void HorizontalCircleBPictureBox_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (e.Button != MouseButtons.Left || HorizontalCircleBPictureBox.ImageLocation == null)
                return;

            PictureForm form = new PictureForm();
            form.ImageLocation = HorizontalCircleBPictureBox.ImageLocation;
            form.Title = HorizontalCircleBLabel.Text;
            form.Width = form.Height = 600;
            form.ShowDialog();
        }
Beispiel #4
0
        private void HorizontalPicture_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (e.Button != MouseButtons.Left || HorizontalPicture.ImageLocation == null)
                return;

            PictureForm form = new PictureForm();
            form.ImageLocation = HorizontalPicture.ImageLocation;
            form.Title = HorizontalPictureTitleLabel.Text;
            form.ShowDialog();
        }