Exemple #1
0
        /// <summary>
        /// 设置分组关联设备
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnSetGroupToDevice_Click(object sender, EventArgs e)
        {
            SetDeviceToGroupForm form = new SetDeviceToGroupForm();

            form.Text = "设置分组相关设备";

            ShowForm(form);
        }
Exemple #2
0
        private void AddGroupForm_FormClosing(object sender, System.Windows.Forms.FormClosingEventArgs e)
        {
            this.Dispose();

            if (null != _currentGroupInfo)
            {
                SetDeviceToGroupForm setDeviceToGroupForm = new SetDeviceToGroupForm();

                setDeviceToGroupForm.Tag = _currentGroupInfo;

                setDeviceToGroupForm.ShowDialog();
            }
        }