Exemple #1
0
        /// <summary>
        /// 新建设备按钮单击处理方法
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button_NewDevice_Click(object sender, EventArgs e)
        {
            NewDevice newDevice = new NewDevice();

            newDevice.ShowDialog();
        }
Exemple #2
0
        private void Add_Click(object sender, EventArgs e)
        {
            NewDevice newdevice = new NewDevice();

            newdevice.Show();
        }