private void btnEnroll_Click(object sender, EventArgs e)
        {
            try
            {
                var address = Service.GetRemoteAddressWs();
                if (address == null || address.Equals(""))
                {
                    MessageBox.Show(Constants.WS_MSG_ERROR, @"Error", MessageBoxButtons.OK, MessageBoxIcon.Stop);
                    return;
                }
                BeginWork();

                var frmFingerPrints = new FrmFingerPrints(_service);
                frmFingerPrints.ShowDialog(this);
            }
            finally
            {
                EndWork();
            }
        }
Esempio n. 2
0
        private void btnEnroll_Click(object sender, EventArgs e)
        {
            try
            {
                var address = Service.GetRemoteAddressWs();
                if (address == null || address.Equals(""))
                {
                    MessageBox.Show(Constants.WS_MSG_ERROR, @"Error", MessageBoxButtons.OK, MessageBoxIcon.Stop);
                    return;
                }
                BeginWork();

                var frmFingerPrints = new FrmFingerPrints(_service);
                frmFingerPrints.ShowDialog(this);
            }
            finally
            {
                EndWork();
            }
        }