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()
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)
45 Views
no comments
/// <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)
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
/// <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">
213 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
