Display: Cloud | List
Most Popular Tags
Results (130 total) All > sample (x)
Visual C++ Samples  MFC Samples  The following table is an alphabetical list of the MFC samples included with Visual C++. In This SectionACDUAL Sample: Adds Dual Interfaces to an Automation ApplicationDemonstrates how to add dual interface support to an MFC-based Automation server.AUTOCLIK Sample: Automation Server ApplicationIllustrates Automation features. Includes AUTODRIV, a
Last modified by Microsoft on 12/18/2006 11:17:07 PM
Tags:  mfc  sample
Visual Studio 201064-bit ApplicationsUpdated: August 2010When you compile an application, you can specify that it should run on a Windows 64-bit operating system either as a native application or under WOW64. WOW64 is a compatibility environment that enables a 32-bit application to run on a 64-bit system. WOW64 is included in the system. All applications that are built on the .NET Framework versi
Last modified by Microsoft on 9/29/2011 12:07:11 AM
Tags:  nealy  sample
PropertyGrid Example (PropertyGrid Class (System.Windows.Forms))
Please see following for PropertyGrid Example:http://msdn.microsoft.com/en-us/library/aa302326.aspx
Last modified by soyuz on 12/13/2011 7:08:37 PM
Tags:  code  example  sample  tutorial  usage
Example Usage and Output (Filename Macros)
Below is an example of how to properly format one of these special macros when using one of the modifier strings. Additionally the example below contains the actual output for this inference rule. Inference Rule: foo.xsd : $(OBJ_PATH)\$(O)\bar.dll Output: *** No Modifier *** $@ = foo.xsd $* = foo
Last modified by Steve Lessard [MSFT] on 11/3/2011 11:51:02 PM
Tags:  example  macro  nmake  output  sample
<#.SYNOPSIS This script shows the first two samples on this MSDN Page, convered to PowerShell .DESCRIPTION This script displays two lines of text using PowerShell and .NET formatting information.NOTES File Name : Show-StandardNFS-1.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script posted to: http://www.pshscripts.blo
Last modified by Thomas Lee on 10/31/2011 11:26:28 AM
Another useless sample (Application.Idle Event (System.Windows.Forms))
The sample code here is another token sample that serves no purpose except allows the author to say that there is sample code. It should show how to make "the event handler is associated with the Idle event" as well as detach the event handler. Certainly people that know how to do that don't need a sample, in which case there is no need for a sample, but if there is a sample, it should be useful f
Last modified by Simple Samples on 5/7/2011 7:53:47 PM
Tags:  sample  useless
private delegate void SomeDelegate<T>(T val);staticvoid Test4(){//This functinality functionality not found in lambda expressions SomeDelegate<int> instance1 = delegate { Console.WriteLine("delegate"); };// This one causes error//SomeDelegate<int> instance2 = () => Console.WriteLine("lambda");// Works properlySomeDelegate<int> instance3 = dummyParameter => Console
Last modified by lrushl on 3/27/2011 6:58:48 AM
Tags:  sample
VB.Net code sample. (ButtonBase.FlatAppearance Property (System.Windows.Forms))
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.BackColor = Color.Black Button1.ForeColor = Color.White Button1.FlatAppearance.BorderColor = System.Drawing.Color.Red Button1.FlatAppearance.BorderSize = 1 Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat End Sub End Class
Last modified by John Anthony Oliver on 1/31/2011 4:58:45 PM
VB.Net code sample. (ButtonBase.FlatAppearance Property (System.Windows.Forms))
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.BackColor = Color.Black Button1.ForeColor = Color.White Button1.FlatAppearance.BorderColor = System.Drawing.Color.Red Button1.FlatAppearance.BorderSize = 1 Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat End Sub End Class
Last modified by John Anthony Oliver on 1/31/2011 4:37:35 PM
"setting" the FlatAppearance property (ButtonBase.FlatAppearance Property (System.Windows.Forms))
.NET 2.0 allows FlatAppearance properties to be set, but the help text says it is read only.   The FlatAppearance property is of type FlatButtonAppearance.  You can't set the property value itself, but you can access the property and set the FlatButtonAppearance property values.  (See http://msdn2.microsoft.com/en-us/library/system.windows.forms.flatbuttonappearance_members.aspx for a list of ava
Last modified by MollyBos - MSFT on 3/29/2007 7:58:57 PM
Page view tracker