Exemplo n.º 1
0
        private void btnFindHKID_Click(object sender, EventArgs e)
        {
            FindHKID findHKID = new FindHKID();

            findHKID.Closed += new EventHandler(findHKID_Closed);
            findHKID.ShowDialog();
        }
Exemplo n.º 2
0
        void findHKID_Closed(object sender, EventArgs e)
        {
            FindHKID findHKID = sender as FindHKID;

            if (findHKID.IsCompleted)
            {
                txtSmartTag7.Text = findHKID.HKID;
            }
        }