private void button1_Click(object sender, EventArgs e) { MotionDetect dlg = new MotionDetect(); dlg.m_lUserID = m_lUserID; dlg.m_struDeviceInfo = m_struDeviceInfo; dlg.m_lChannel = 1; dlg.ShowDialog(); }
private void btnMotionConfig_Click(object sender, EventArgs e) { MotionDetect dlg = new MotionDetect(); dlg.m_lUserID = m_lUserID; dlg.m_struDeviceInfo = m_struDeviceInfo; dlg.m_lChannel = 1; dlg.ShowDialog(); }