Example #1
0
        private void btn_save_Click(object sender, EventArgs e)
        {
            var connection = new TPLinkConnection();

            connection.UpdateModuleNameInformation(moduleSmartLink, txt_moduleName.Text);
            connection.UpdateModuleLedState(moduleSmartLink, rd_Status_Light_On.Checked);
            this.Close();
        }