Click here to Skip to main content
15,889,839 members
Articles / Programming Languages / C# 4.0

Reading Ultrabook Sensor Data with the Windows 8 Sensor API

Rate me:
Please Sign up or sign in to vote.
5.00/5 (10 votes)
6 Nov 2012CPOL2 min read 29.9K   1.1K   6  
A head start for App Innovation contestants
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>RedCell.Windows.Forms.Metro</name>
    </assembly>
    <members>
        <member name="T:RedCell.Windows.Forms.Metro.Button">
            <summary>
            Class Button
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.Button.#ctor">
            <summary>
            Initializes a new instance of the <see cref="T:RedCell.Windows.Forms.Metro.Button"/> class.
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.Button.OnBackColorChanged(System.EventArgs)">
            <summary>
            Raises the <see cref="E:System.Windows.Forms.Control.BackColorChanged" /> event.
            </summary>
            <param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
        </member>
        <member name="T:RedCell.App.Sensors.GroupBox">
            <summary>
            A Metro-style group box.
            </summary>
        </member>
        <member name="M:RedCell.App.Sensors.GroupBox.#ctor">
            <summary>
            Initializes a new instance of the <see cref="T:RedCell.App.Sensors.GroupBox"/> class.
            </summary>
        </member>
        <member name="M:RedCell.App.Sensors.GroupBox.#ctor(System.ComponentModel.IContainer)">
            <summary>
            Initializes a new instance of the <see cref="T:RedCell.App.Sensors.GroupBox"/> class.
            </summary>
            <param name="container">The container.</param>
        </member>
        <member name="M:RedCell.App.Sensors.GroupBox.Initialize">
            <summary>
            Initializes this instance.
            </summary>
        </member>
        <member name="M:RedCell.App.Sensors.GroupBox.OnForeColorChanged(System.EventArgs)">
            <summary>
            Raises the <see cref="E:System.Windows.Forms.Control.ForeColorChanged" /> event.
            </summary>
            <param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
        </member>
        <member name="M:RedCell.App.Sensors.GroupBox.OnBackColorChanged(System.EventArgs)">
            <summary>
            Raises the <see cref="E:System.Windows.Forms.Control.BackColorChanged" /> event.
            </summary>
            <param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
        </member>
        <member name="M:RedCell.App.Sensors.GroupBox.OnPaintBackground(System.Windows.Forms.PaintEventArgs)">
            <summary>
            Raises the <see cref="E:PaintBackground"/> event.
            </summary>
            <param name="e">The <see cref="T:System.Windows.Forms.PaintEventArgs"/> instance containing the event data.</param>
        </member>
        <member name="M:RedCell.App.Sensors.GroupBox.OnPaint(System.Windows.Forms.PaintEventArgs)">
            <summary>
            Raises the <see cref="E:Paint" /> event.
            </summary>
            <param name="e">A <see cref="T:System.Windows.Forms.PaintEventArgs" /> that contains the event data.</param>
        </member>
        <member name="M:RedCell.App.Sensors.GroupBox.Dispose(System.Boolean)">
            <summary>
            Releases the unmanaged resources used by the <see cref="T:System.Windows.Forms.Control" /> and its child controls and optionally releases the managed resources.
            </summary>
            <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
        </member>
        <member name="P:RedCell.App.Sensors.GroupBox.BackColor">
            <summary>
            Gets or sets the background color for the control.
            </summary>
            <value>The color of the back.</value>
            <returns>A <see cref="T:System.Drawing.Color" /> that represents the background color of the control. The default is the value of the <see cref="P:System.Windows.Forms.Control.DefaultBackColor" /> property.</returns>
              <PermissionSet>
              <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
              </PermissionSet>
        </member>
        <member name="T:RedCell.Windows.Forms.Metro.Tab">
            <summary>
            Class Tab
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.Tab.#ctor(RedCell.Windows.Forms.Metro.TabButton,RedCell.Windows.Forms.Metro.TabPanel)">
            <summary>
            Initializes a new instance of the <see cref="T:RedCell.Windows.Forms.Metro.Tab"/> class.
            </summary>
            <param name="button">The button.</param>
            <param name="panel">The panel.</param>
        </member>
        <member name="P:RedCell.Windows.Forms.Metro.Tab.Button">
            <summary>
            Gets the button.
            </summary>
            <value>The button.</value>
        </member>
        <member name="P:RedCell.Windows.Forms.Metro.Tab.Panel">
            <summary>
            Gets the panel.
            </summary>
            <value>The panel.</value>
        </member>
        <member name="T:RedCell.Windows.Forms.Metro.TabButton">
            <summary>
            Class TabButton
            </summary>
        </member>
        <member name="T:RedCell.Windows.Forms.Metro.UserControl">
            <summary>
            Base class for Metro-style user controls.
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.UserControl.#ctor">
            <summary>
            Initializes a new instance of the <see cref="T:RedCell.Windows.Forms.Metro.UserControl"/> class.
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.UserControl.OnPaintBackground(System.Windows.Forms.PaintEventArgs)">
            <summary>
            Paints the background of the control.
            </summary>
            <param name="e">A <see cref="T:System.Windows.Forms.PaintEventArgs" /> that contains the event data.</param>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.UserControl.OnPaint(System.Windows.Forms.PaintEventArgs)">
            <summary>
            Raises the <see cref="E:System.Windows.Forms.Control.Paint" /> event.
            </summary>
            <param name="e">A <see cref="T:System.Windows.Forms.PaintEventArgs" /> that contains the event data.</param>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.UserControl.InvalidateEx">
            <summary>
            Invalidates the ex.
            </summary>
        </member>
        <member name="F:RedCell.Windows.Forms.Metro.UserControl.components">
            <summary> 
            Required designer variable.
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.UserControl.Dispose(System.Boolean)">
            <summary> 
            Clean up any resources being used.
            </summary>
            <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.UserControl.InitializeComponent">
            <summary> 
            Required method for Designer support - do not modify 
            the contents of this method with the code editor.
            </summary>
        </member>
        <member name="P:RedCell.Windows.Forms.Metro.UserControl.Opacity">
            <summary>
            Gets or sets the opacity.
            </summary>
            <value>The opacity.</value>
        </member>
        <member name="P:RedCell.Windows.Forms.Metro.UserControl.CreateParams">
            <summary>
            Gets the create params.
            </summary>
            <value>The create params.</value>
            <returns>A <see cref="T:System.Windows.Forms.CreateParams" /> that contains the required creation parameters when the handle to the control is created.</returns>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabButton.#ctor">
            <summary>
            Initializes a new instance of the <see cref="T:RedCell.Windows.Forms.Metro.TabButton"/> class.
            </summary>
        </member>
        <member name="F:RedCell.Windows.Forms.Metro.TabButton.components">
            <summary> 
            Required designer variable.
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabButton.Dispose(System.Boolean)">
            <summary> 
            Clean up any resources being used.
            </summary>
            <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabButton.InitializeComponent">
            <summary> 
            Required method for Designer support - do not modify 
            the contents of this method with the code editor.
            </summary>
        </member>
        <member name="T:RedCell.Windows.Forms.Metro.TabControl">
            <summary>
            Tab Container
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabControl.#ctor">
            <summary>
            Initializes a new instance of the <see cref="T:RedCell.Windows.Forms.Metro.TabControl"/> class.
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabControl.Add(RedCell.Windows.Forms.Metro.Tab)">
            <summary>
            Adds the specified tab.
            </summary>
            <param name="tab">The tab.</param>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabControl.Select(RedCell.Windows.Forms.Metro.Tab)">
            <summary>
            Selects the specified tab.
            </summary>
            <param name="tab">The tab.</param>
        </member>
        <member name="F:RedCell.Windows.Forms.Metro.TabControl.components">
            <summary> 
            Required designer variable.
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabControl.Dispose(System.Boolean)">
            <summary> 
            Clean up any resources being used.
            </summary>
            <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabControl.InitializeComponent">
            <summary> 
            Required method for Designer support - do not modify 
            the contents of this method with the code editor.
            </summary>
        </member>
        <member name="F:RedCell.Windows.Forms.Metro.TabControl.TabButtonPanel">
            <summary>
            The tab button panel
            </summary>
        </member>
        <member name="F:RedCell.Windows.Forms.Metro.TabControl.TabPanelContainer">
            <summary>
            The tab panel container
            </summary>
        </member>
        <member name="T:RedCell.Windows.Forms.Metro.TabPanel">
            <summary>
            A tab panel
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabPanel.#ctor">
            <summary>
            Initializes a new instance of the <see cref="T:RedCell.Windows.Forms.Metro.TabPanel"/> class.
            </summary>
        </member>
        <member name="F:RedCell.Windows.Forms.Metro.TabPanel.components">
            <summary> 
            Required designer variable.
            </summary>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabPanel.Dispose(System.Boolean)">
            <summary> 
            Clean up any resources being used.
            </summary>
            <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        </member>
        <member name="M:RedCell.Windows.Forms.Metro.TabPanel.InitializeComponent">
            <summary> 
            Required method for Designer support - do not modify 
            the contents of this method with the code editor.
            </summary>
        </member>
        <member name="T:RedCell.App.Laundry.PictureBox">
            <summary>
            TransparentPictureBox
            </summary>
        </member>
        <member name="M:RedCell.App.Laundry.PictureBox.#ctor">
            <summary>
            Initializes a new instance of the <see cref="T:RedCell.App.Laundry.PictureBox"/> class.
            </summary>
        </member>
        <member name="M:RedCell.App.Laundry.PictureBox.OnPaintBackground(System.Windows.Forms.PaintEventArgs)">
            <summary>
            Paints the background of the control.
            </summary>
            <param name="pevent">A <see cref="T:System.Windows.Forms.PaintEventArgs" /> that contains information about the control to paint.</param>
        </member>
        <member name="P:RedCell.App.Laundry.PictureBox.CreateParams">
            <summary>
            Overrides the <see cref="P:System.Windows.Forms.Control.CreateParams" /> property.
            </summary>
            <value>The create params.</value>
            <returns>A <see cref="T:System.Windows.Forms.CreateParams" /> that contains the required creation parameters when the handle to the control is created.</returns>
        </member>
    </members>
</doc>

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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer Robotic Assistance Devices / AITX
Canada Canada
Yvan Rodrigues has 30 years of experience in information systems and software development for the industry. He is Senior Concept Designer at Robotic Assistance Devices

He is a Certified Technician (C.Tech.), a professional designation granted by the Institute of Engineering Technology of Ontario (IETO).

Yvan draws on experience as owner of Red Cell Innovation Inc., Mabel's Labels Inc. as Manager of Systems and Development, the University of Waterloo as Information Systems Manager, and OTTO Motors as Senior Systems Engineer and Senior Concept Designer.

Yvan is currently focused on design of embedded systems.

Comments and Discussions