private void button5_Click(object sender, EventArgs e)
        {
            SearchUser obj = new SearchUser();

            obj.ID = Convert.ToString(UserId);
            obj.ShowDialog();
        }
        private void button4_Click(object sender, EventArgs e)
        {
            SearchUser obj = new SearchUser();

            obj.ID       = Convert.ToString(Convert.ToString(dbSearchUser.Rows[Grid.CurrentRowIndex]["Customer Id"]));
            obj.UserName = Convert.ToString(Convert.ToString(dbSearchUser.Rows[Grid.CurrentRowIndex]["Customer Name"]));
            obj.ShowDialog();
        }
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            SearchUser obj = new SearchUser();

            obj.ShowDialog();
            if (!string.IsNullOrWhiteSpace(obj.PublicKey))
            {
                textBox1.Text   = obj.UserName + " - " + obj.IP;
                textBox1.Tag    = obj.PublicKey;
                UserId          = Convert.ToInt32(obj.ID);
                button5.Enabled = true;
            }

            if (!string.IsNullOrWhiteSpace(textBox1.Text))
            {
                button5.Enabled = true;
            }
            else
            {
                button5.Enabled = false;
            }
        }