コード例 #1
0
        public object Convert(object value, Type targetType, object parameter, string language)
        {
            VlcState obj = (VlcState)value;

            if ((obj == VlcState.Stopped) || (obj == VlcState.Paused))
            {
                return(Visibility.Visible);
            }
            else
            {
                return(Visibility.Collapsed);
            }
        }
コード例 #2
0
 internal VlcStateChangedEventArgs(VlcCallbackArgs Args, IntPtr UserData)
     : base(Args, UserData)
 {
     _NewState = base.Args.media_state_changed.new_state;
 }
コード例 #3
0
 internal VlcStateChangedEventArgs(VlcCallbackArgs Args, IntPtr UserData)
     : base(Args, UserData)
 {
     _NewState = base.Args.media_state_changed.new_state;
 }
コード例 #4
0
 internal VlcStateChangedEventArgs(VlcCallbackArgs Args, IntPtr UserData, VlcState NewState)
     : base(Args, UserData)
 {
     _NewState = NewState;
 }
コード例 #5
0
 internal VlcStateChangedEventArgs(VlcCallbackArgs Args, IntPtr UserData, VlcState NewState)
     : base(Args, UserData)
 {
     _NewState = NewState;
 }