Ejemplo n.º 1
0
        private void OKBtn_Click(object sender, EventArgs e)
        {
            String strURL      = this.URLText.Text;
            String strUserName = this.UserNameText.Text;
            String strPassword = this.PasswordText.Text;

            if (strURL.Equals("") || strUserName.Equals("") || strPassword.Equals(""))
            {
                return;
            }

            // login cloud device
            m_oNetDemo.AddCloudDevice(strURL, strUserName, strPassword);
            this.Close();
        }