/CmsCheckin/Picture.cs
https://bitbucket.org/mahalowe/bvcms · C# · 49 lines · 43 code · 6 blank · 0 comment · 0 complexity · 4dc701ebfc016f58d61fec25a93e315e MD5 · raw file
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using System.Net;
- using System.Xml.Linq;
- using System.Xml.Serialization;
- using System.IO;
- using System.Drawing.Imaging;
-
- namespace CmsCheckin
- {
- public partial class Picture : Form
- {
- public Picture()
- {
- InitializeComponent();
-
- }
-
- private void pictureBox1_Click(object sender, EventArgs e)
- {
- var f = new TakePicture();
- f.ShowDialog();
- this.Close();
- }
-
- private void TakePic_Click(object sender, EventArgs e)
- {
- var f = new TakePicture();
- f.ShowDialog();
- this.Close();
- }
-
- private void Return_Click(object sender, EventArgs e)
- {
- this.Close();
- }
-
- private void Picture_Load(object sender, EventArgs e)
- {
- pictureBox1.Image = Util.GetImage(Program.PeopleId);
- }
- }
- }