CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of from
 <Image Margin="367.056,8,8,0" VerticalAlignment="Top" Name="imgLargePreview" Width="640" Height="480" MaxHeight="480" MaxWidth="640" />
 
 
 
 
Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click
        saveImage()
    End Sub
    Sub saveImage()
        Dim encoder = New PngBitmapEncoder()
by DaveCS   May 15, 2012 @ 7:52am
14 Views
no comments
 
Imports System.ComponentModel
 
Public Class MyData
    Implements INotifyPropertyChanged
    ''USAGE in code behind
    'Dim data1 As New MyData(DateTime.Now)
    'Dim binding1 As New Binding("MyDataProperty")
    '    binding1.Source = data1
    '    Me.txtEnterCode.SetBinding(TextBox.TextProperty, binding1)
by DaveCS   March 13, 2012 @ 7:03pm
45 Views
no comments
 
C#
/// <summary>
/// Creates the mail message.
/// </summary>
/// <param name="emailBody">The email body.</param>
/// <param name="maTo">The ma to.</param>
/// <param name="maFrom">The ma from.</param>
/// <param name="maBcc">The ma BCC.</param>
/// <param name="attachment">The attachment.</param>
/// <returns></returns>
public static MailMessage CreateMailMessage(string emailBody, string maTo, string maFrom, string maBcc, Attachment attachment)
by Prithvi Ramana A   December 22, 2011 @ 2:51am
49 Views
1 comments
 
// ===================================================================
// Author: Matt Kruse <matt@mattkruse.com>
// WWW: http://www.mattkruse.com/
//
// NOTICE: You may use this code for any purpose, commercial or
// private, without any further permission from the author. You may
// remove this notice from your final code if you wish, however it is
// appreciated by the author if at least my web site address is kept.
//
// You may *NOT* re-distribute this code in any way except through its
382 Views
no comments
 
C#
/// <summary>
/// Static class that provides services to serialize and deserialize an IDynamiteXml.
/// </summary>
public static class DynamiteXmlLogic
{
    /// <summary>
    /// Service to serialize an IDynamiteXml implementing object.
    /// Use the Deserialize method of this class to get the IDynamiteXml back.
    /// </summary>
    /// <param name="DynamiteXml">
by Athens Springer   December 17, 2009 @ 10:42pm
213 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate