Results 1-25 of about 838 results found for 'nativemethods' in 0.22 seconds
 1 2345678910...

HtmlSite.cs
    using System.Windows.Forms;
    [ClassInterface(ClassInterfaceType.None)]
    internal class HtmlSite : NativeMethods.IOleClientSite, NativeMethods.IOleContainer, NativeMethods.IOleDocumentSite, Na...  
    {
        private HtmlControl hostControl;
Language: C#
(c) 2002-2003 Lutz Roeder. All rights reserved....
LOC: 545
Spider_20090108_inc : ljArchive (project search) : .../ljarchive/ljArchive-0.9.7-src.zip/WindowsForms/Html/HtmlSite.cs

TaskDialogProgressBarState.cs
    public enum TaskDialogProgressBarState
    {
        Normal      = NativeMethods.PBST.PBST_NORMAL,
        Error       = NativeMethods.PBST.PBST_ERROR,
        Paused      = NativeMethods.PBST.PBST_PAUSED
Language: C#
LOC: 13
CodePlex1 : SquirrelDB (project search) : .../ClientComponents/ClientComponents/VistaDialogs/Library/TaskDialogProgressBarState.cs

TaskDialogProgressBarState.cs
    public enum TaskDialogProgressBarState
    {
        Normal      = NativeMethods.PBST.PBST_NORMAL,
        Error       = NativeMethods.PBST.PBST_ERROR,
        Paused      = NativeMethods.PBST.PBST_PAUSED
Language: C#
LOC: 13
CodePlex1 : SquirrelDB (project search) : .../svn/ClientComponents/VistaDialogs/Library/TaskDialogProgressBarState.cs

Progressbar.cs
        public ProgressBar()
        {
            NativeMethods.SendMessage(this.Handle, NativeMethods.PBM_SETSTATE, NativeMethods.PBST_NORMAL, 0);
        }
        protected override CreateParams CreateParams
Language: C#
License: MSCL
LOC: 74
CodePlex1 : Garnet (project search) : .../Garnet/Garnet.Controls/Controls/Aero/Progressbar.cs

Thumbnail.cs
        protected override bool ReleaseHandle() {
            //Unregister the thumbnail
            return (NativeMethods.DwmUnregisterThumbnail(handle) == 0);
        }
        #endregion
Language: C#
LOC: 102
Spider_20090505_inc : DWM.NET Library (project search) : .../dwmnet/DWMNET_Library-source-1_0.zip/DWM/DWM/Thumbnail.cs

SQLiteString.cs
          private Int32  _ByteLength;
          private     Encoding _Encoding;
        private NativeMethods _NativeMethods;
        public SQLiteString(NativeMethods nativeMethods, Encoding encoding)
            : this(nativeMethods, encoding, null)
Language: C#
LOC: 86
Spider_mobile_001 : Sqlite for S60 (project search) : .../sqlites60/SQLiteS60.zip/SQLiteClient/Native/SQLiteString.cs

CommandBarManager.cs
          if (!this.RecreatingHandle)
          {
               NativeMethods.INITCOMMONCONTROLSEX init = new NativeMethods.INITCOMMONCONTROLSEX();
               init.Size = Marshal.SizeOf(typeof(NativeMethods.INITCOMMONCONTROLSEX));
               init.Flags = NativeMethods.ICC_BAR_CLASSES | NativeMethods.ICC_COOL_CLASSES;
Language: C#
(C) 2001-2003 Lutz Roeder. All rights reserved.
LOC: 239
CodePlex1 : Garnet (project search) : .../Garnet/Garnet.Controls/Controls/CommandBar/CommandBarManager.cs

CommandBarManager.cs
          if (!this.RecreatingHandle)
          {
               NativeMethods.INITCOMMONCONTROLSEX init = new NativeMethods.INITCOMMONCONTROLSEX();
               init.Size = Marshal.SizeOf(typeof(NativeMethods.INITCOMMONCONTROLSEX));
               init.Flags = NativeMethods.ICC_BAR_CLASSES | NativeMethods.ICC_COOL_CLASSES;
Language: C#
(C) 2001-2003 Lutz Roeder. All rights reserved.
LOC: 239
OSFlash : flashdevelop (project search) : .../Trunk/FD2/PluginCore/CommandBar/CommandBarManager.cs

CommandBar.cs
          if (!this.RecreatingHandle)
          {
               NativeMethods.INITCOMMONCONTROLSEX icex = new NativeMethods.INITCOMMONCONTROLSEX();
               icex.Size = Marshal.SizeOf(typeof(NativeMethods.INITCOMMONCONTROLSEX));
               icex.Flags = NativeMethods.ICC_BAR_CLASSES | NativeMethods.ICC_COOL_CLASSES;
Language: C#
(C) 2001-2003 Lutz Roeder. All rights reserved.
LOC: 977
CodePlex1 : Garnet (project search) : .../Garnet/Garnet.Controls/Controls/CommandBar/CommandBar.cs

HtmlProtocolRes.cs
          IntPtr hResourceInfo)
          {
          IntPtr hResource = NativeMethods.Resource_Load(hModule, hResourceInfo);
          if (hResource != IntPtr.Zero)
          {
Language: C#
Copyright 2005-2006, TrifleSoft */
LOC: 353
Google : nabu-library - .Net Multipurpose Library (project search) : .../Source/Library/Nabu.Forms.Html/Protocols/HtmlProtocolRes.cs

CommandBar.cs
          if (!this.RecreatingHandle)
          {
               NativeMethods.INITCOMMONCONTROLSEX icex = new NativeMethods.INITCOMMONCONTROLSEX();
               icex.Size = Marshal.SizeOf(typeof(NativeMethods.INITCOMMONCONTROLSEX));
               icex.Flags = NativeMethods.ICC_BAR_CLASSES | NativeMethods.ICC_COOL_CLASSES;
Language: C#
(C) 2001-2003 Lutz Roeder. All rights reserved.
LOC: 954
OSFlash : flashdevelop (project search) : .../Trunk/FD2/PluginCore/CommandBar/CommandBar.cs

NativeConsole.cs
        public NativeConsole()
        {
            if (!NativeMethods.AllocConsole())
            {
                throw new Win32Exception();
Language: C#
LOC: 43
CodePlex_zeroloc : PoshConsole (project search) : .../svn/trunk-3.5/PoshConsole/Interop/NativeConsole.cs

NativeConsole.cs
        public NativeConsole()
        {
            if (!NativeMethods.AllocConsole())
            {
                throw new Win32Exception();
Language: C#
LOC: 42
CodePlex_zeroloc : PoshConsole (project search) : .../trunk-3.5/PoshConsoleCore/Interop/Console/NativeConsole.cs

Fonts.cs
namespace OpenNETCF.GDIPlus
{
    public static partial class NativeMethods
    {
        //----------------------------------------------------------------------------
Language: C#
LOC: 9
CodePlex1 : Mobile Car Manager (project search) : .../Main/MobileCarManager/GDIPlusWrapper/NativeMethods/Fonts.cs

EtwTraceController.cs
        {
            Debug.Assert(_handle == 0, "_handle == 0");
            NativeMethods.EVENT_TRACE_PROPERTIES properties = CommonEvenTraceProperties();
            properties.WNode.Flags = NativeMethods.WNodeFlags.TracedGuid;
            properties.WNode.ClientContext = 1; //QPC clock resolution
Language: C#
LOC: 88
Spider_20090505_inc : UCMA Enhanced Reminders Sample (project search) : .../EnhancedReminders20090408.zip/EnhancedReminders/Code/AppsCommonUnitTests/EtwTraceController.cs

WindowManager.cs
          public void Refresh(EnumerationMode mode) {
               _windows = new List<WindowHandle>();
               NativeMethods.EnumWindowsProc proc = null;
               switch (mode) {
                    case EnumerationMode.AllVisible:
Language: C#
LOC: 84
Spider_20090505_inc : On Top Replica (project search) : .../0012/OnTopReplica/OnTopReplica-2_5-Source.zip/OnTopReplica/WindowManager.cs

Win32Helper.cs
          /// <param name="doubleClick">True if a double click should be injected.</param>
          public static void InjectFakeMouseClick(IntPtr window, Point clickLocation, bool doubleClick) {
               NativeMethods.Point scrClickLocation = NativeMethods.ClientToScreen(window,
                    NativeMethods.Point.FromPoint(clickLocation));
               //HACK (?)
Language: C#
LOC: 53
Spider_20090505_inc : On Top Replica (project search) : .../0012/OnTopReplica/OnTopReplica-2_5-Source.zip/OnTopReplica/Win32Helper.cs

WindowManager.cs
        public void Refresh(EnumerationMode mode){
            _windows = new List<WindowHandle>();
            NativeMethods.EnumWindowsProc proc = null;
            switch (mode) {
                case EnumerationMode.AllVisible:
Language: C#
LOC: 85
Spider_20090505_inc : DWM.NET Library (project search) : .../dwmnet/DWMNET_Library-source-1_0.zip/DWM/DWM/WindowManager.cs

Win32ListBoxHost.cs
                throw new ArgumentException("Invalid parameter. You cannot add an empty string to a list box.", "item");
            }
            NativeMethods.SendMessage(_hwndListBox, NativeMethods.LB_ADDSTRING, IntPtr.Zero, item);
        }
        public void DeleteItem(int itemIndex)
Language: C#
LOC: 147
CodePlex1 : TheocraticExplorer (project search) : .../svn/HostWin32ControlWPF/Win32ControlInWpfWindow_CompositeWin32Messages/Win32ListBoxHost.cs

ScrollableView.cs
     {
          this._scrollPosition.Width = Math.Max(Math.Min(position, this._scrollMax.Width), this._scrollMin.Width);
          NativeMethods.ScrollInfo scrollInfo = new NativeMethods.ScrollInfo();
          scrollInfo.Size = Marshal.SizeOf(scrollInfo);
          scrollInfo.Mask = NativeMethods.ScrollBarInfoFlag.Position | NativeMethods.ScrollBarInfoFlag.DisableNoScroll;
Language: C#
Copyright 2005-2006, TrifleSoft */
LOC: 754
Google : nabu-library - .Net Multipurpose Library (project search) : .../Source/Library/Nabu.Forms/Utility/ScrollableView.cs

WindowSwitcher.cs
        {
            IntPtr next = GetNextWindow(current);
            NativeMethods.ShowWindow(next, ShowWindowCommand.Show);
            NativeMethods.SetForegroundWindow(next);
        }
Language: C#
LOC: 33
CodePlex_zeroloc : PoshConsole (project search) : .../trunk-3.5/PoshConsole/Interop/Hotkeys/WindowSwitcher.cs

Video.cs
    public static void PowerOff()
    {
      IntPtr hDc = NativeMethods.GetDC(IntPtr.Zero);
      byte[] vpm = new byte[] { 12, 0, 0, 0, 1, 0, 0, 0, (byte)NativeMethods.VideoPowerState.VideoPowerOff, 0, 0, 0, 0 };
      NativeMethods.ExtEscape(hDc, NativeMethods.SETPOWERMANAGEMENT, 12, vpm, 0, IntPtr.Zero);
Language: C#
LOC: 22
CodePlex1 : .netlib (project search) : .../Source/DotNetLib/DotNetLib/Compact/Video.cs

HtmlControl.cs
          private bool isDesignMode;
          private bool designModeDesired;
          private NativeMethods.IPersistStreamInit persistStream;
        public HtmlControl()
        {
Language: C#
(c) 2002-2003 Lutz Roeder. All rights reserved....
LOC: 448
Spider_20090108_inc : ljArchive (project search) : .../ljarchive/ljArchive-0.9.7-src.zip/WindowsForms/Html/HtmlControl.cs

ListView.cs
    {
      base.OnHandleCreated(e);
      if (NativeMethods.CanDrawVistaStyles)
      {
        HandleRef handle = new HandleRef(this, Handle);
Language: C#
LOC: 23
CodePlex1 : .netlib (project search) : .../DotNetLib/DotNetLib/Windows/Forms/ListView.cs

NonClientMouseEventArgs.cs
     {
          #region Fields
          private NativeMethods.HitTestCode _ncHitTest = NativeMethods.HitTestCode.NoWhere;
          #endregion
          #region Methods
Language: C#
Copyright 2005-2006, TrifleSoft */
LOC: 30
Google : nabu-library - .Net Multipurpose Library (project search) : .../Source/Library/Nabu.Forms/Utility/NonClientMouseEventArgs.cs

 1 2345678910...







About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us