public Form1() { InitializeComponent(); this.signPad = new SignPad(); this.signPad1 = new SignPad2(); this.iCardForm = new ICard(); this.finger = new Finger(); }
public string Read() { SignPad sign = new SignPad(); string imgPath = string.Empty; try { if (sign.ShowDialog() == DialogResult.OK) { imgPath = sign.Save(); } //sign.Dispose(); return(imgPath); } catch (Exception e) { MessageBox.Show(e.ToString()); return(imgPath); } }