/CmsCheckin/Picture.cs
C# | 49 lines | 43 code | 6 blank | 0 comment | 0 complexity | 4dc701ebfc016f58d61fec25a93e315e MD5 | raw file
Possible License(s): CC-BY-SA-3.0, Apache-2.0, BSD-3-Clause, LGPL-2.1, MPL-2.0-no-copyleft-exception, AGPL-3.0
- 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);
- }
- }
- }