示例#1
0
        private void saveButton_Click(object sender, EventArgs e)
        {
            SaveFileDialog saveFileDialog = new SaveFileDialog();

            saveFileDialog.Filter = "PNG|*.png";
            if (saveFileDialog.ShowDialog() == DialogResult.OK)
            {
                ImageFunctions.saveImage(saveFileDialog.FileName + ".png");
            }
        }
示例#2
0
        public mainForm()
        {
            InitializeComponent();

            pictureBox1.SizeMode = PictureBoxSizeMode.Zoom;
            pictureBox2.SizeMode = PictureBoxSizeMode.Zoom;
            pictureBox3.SizeMode = PictureBoxSizeMode.Zoom;

            ImageFunctions.initializeCamera();
            Application.Idle += showImage;
        }