Пример #1
0
        private void btnLogonTo_Click(object sender, EventArgs e)
        {
            LogOnWorkStationsEditor _LogonstringForm = new LogOnWorkStationsEditor(sUserWorkStations);

            if (_LogonstringForm.ShowDialog(this) == DialogResult.OK)
            {
                if (!String.IsNullOrEmpty(_LogonstringForm.sMultiValuedStringAttrValue))
                {
                    sUserWorkStations = _LogonstringForm.sMultiValuedStringAttrValue;
                }
                else
                {
                    sUserWorkStations = "";
                }
            }

            this.ParentContainer.DataChanged = true;
            UpdateApplyButton();
        }
Пример #2
0
        private void btnLogonTo_Click(object sender, EventArgs e)
        {
            LogOnWorkStationsEditor _LogonstringForm = new LogOnWorkStationsEditor(sUserWorkStations);
            if (_LogonstringForm.ShowDialog(this) == DialogResult.OK)
            {
                if (!String.IsNullOrEmpty(_LogonstringForm.sMultiValuedStringAttrValue))
                {
                    sUserWorkStations = _LogonstringForm.sMultiValuedStringAttrValue;
                }
                else
                    sUserWorkStations = "";
            }

            this.ParentContainer.DataChanged = true;
            UpdateApplyButton();
        }