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 Scale
Public Function generateGrayScaleImage(ByVal sourcePath As String, ByVal destinationPath As String) As Boolean
        Dim originalImage As Bitmap = Nothing
        Dim newBitmap As Bitmap = Nothing
        Dim g As Graphics = Nothing
        Dim success As Boolean = False
 
        If File.Exists(sourcePath) Then
            Try
                originalImage = Bitmap.FromFile(sourcePath)
            Catch ex As Exception
by Yasser   February 10, 2011 @ 5:22am
223 Views
no comments
 
C#
public class Popper
{
    public static void PopItem(UIElement control)
    {
        DoItem(TimeSpan.FromMilliseconds(200), 1, 1.5, control);
    }
 
    public static void UnPopItem(UIElement control)
    {
        DoItem(TimeSpan.FromMilliseconds(200), 1.5, 1, control);
by Jerry Nixon   February 01, 2011 @ 4:39pm
362 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