Exemplo n.º 1
0
 /// <summary>
 /// 发送控件展开事件
 /// </summary>
 /// <param name="_Isexpanded"></param>
 private void SendViedoExpansionEvent(bool _Isexpanded,int handle)
 {
     if (null != ViedoExpansionEvent)
     {
         ViedoExpansionEventArgs args = new ViedoExpansionEventArgs();
         args.IsExpanded = _Isexpanded;
         args.Handle = handle;
         ViedoExpansionEvent(this, args);
     }
 }
 /// <summary>
 /// ��Ƶ����չ���¼�
 /// </summary>
 /// <param name="obj"></param>
 /// <param name="args"></param>
 private void ViedoScreen_ViedoExpansionEvent(object  obj,ViedoExpansionEventArgs args)
 {
     CurrentIsExpanded = args.IsExpanded;
     ExpandViedoPanel(args.Handle);
 }