Click here to Skip to main content

Sequence Classifiers in C# - Part I: Hidden Markov Models

gestures-bin.zip
Resources
Accord.dll
Accord.MachineLearning.dll
Accord.Math.dll
Accord.Statistics.dll
AForge.dll
AForge.Math.dll
Gestures.exe
Gestures.vshost.exe
Gestures.vshost.exe.manifest
gestures-src.zip
Externals
Accord.Controls.dll
Accord.dll
Accord.MachineLearning.dll
Accord.Math.dll
Accord.Statistics.dll
AForge.dll
AForge.Math.dll
Native
Properties
Settings.settings
Gestures.csproj.user
Gestures.pidb
Gestures.suo
using System;
using System.Drawing;
using System.Windows.Forms;

namespace Gestures.Native
{

    /// <summary>
    ///   Managed wrapper around native methods.
    /// </summary>
    /// 
    public static class SafeNativeMethods
    {

        /// <summary>
        ///   Extends the window frame into the client area.
        /// </summary>
        /// 
        /// <param name="window">
        ///   The handle to the window in which the frame will
        ///   be extended into the client area.</param>
        /// <param name="margins">
        ///   A pointer to a <see cref="ThemeMargins"/> structure that describes
        ///   the margins to use when extending the frame into the client area.</param>
        ///   
        public static void ExtendAeroGlassIntoClientArea(IWin32Window window, ThemeMargins margins)
        {
            if (window == null) throw new ArgumentNullException("window");
            NativeMethods.DwmExtendFrameIntoClientArea(window.Handle, ref margins);
        }

        /// <summary>
        ///   Obtains a value that indicates whether Desktop
        ///   Window Manager (DWM) composition is enabled. 
        /// </summary>
        /// 
        public static bool IsAeroEnabled
        {
            get { return NativeMethods.DwmIsCompositionEnabled(); }
        }

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Web04 | 2.8.160204.4 | Advertise | Privacy
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service