Exemple #1
0
        /// <summary>
        /// 弹出视频窗口
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void WestThroatVideo_Click(object sender, EventArgs e)
        {
            if (HCUserID != -1)
            {
                VideoZoomInWindow vziw = new VideoZoomInWindow();
                vziw.HCUserID = this.HCUserID;
                switch (((System.Windows.Forms.Control)sender).Tag.ToString())
                {
                case "WestThroatVideo":
                    vziw.Channle = iChannelNum[0];
                    break;

                case "EastThroatVideo":
                    vziw.Channle = iChannelNum[1];
                    break;
                }
                vziw.Show();
            }
        }
Exemple #2
0
 private void w0_Click(object sender, EventArgs e)
 {
     if (HCUserID != -1)
     {
         VideoZoomInWindow vziw = new VideoZoomInWindow();
         vziw.HCUserID = this.HCUserID;
         //switch (((System.Windows.Forms.Control)sender).Tag.ToString())
         //{
         //    case "WestThroatVideo":
         //        vziw.Channle = iChannelNum[0];
         //        break;
         //    case "EastThroatVideo":
         //        vziw.Channle = iChannelNum[1];
         //        break;
         //}
         vziw.Channle = dwDCStartChannelNum + int.Parse(((System.Windows.Forms.Control)sender).Tag.ToString());
         vziw.Show();
     }
 }