Esempio n. 1
0
        private void BtnChooseDev_Click(object sender, EventArgs e)
        {
            DialogAreaAddress dlg = new DialogAreaAddress();

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                textBoxIndoor.Text = dlg.ReturnValue;
            }
        }
        private void BtnAddressList_Click(object sender, EventArgs e)
        {
            DialogAreaAddress dlg = new DialogAreaAddress();

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                txtBoxAddress.Text = dlg.ReturnValue;
            }
        }
Esempio n. 3
0
        private void BtnSelectDeviceAddress_Click(object sender, EventArgs e)
        {
            DialogAreaAddress dlg = new DialogAreaAddress();

            if (dlg.ShowDialog() != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }
            this.textBoxDeviceAddress.Text = dlg.ReturnValue;
        }