Geeks With Blogs
DotNet Snippets Silverlight and C# February 2010 Entries
Silverlight Simple DataGrid Binding
Silverlight at Visual Studio 2010 sample for simple binding a data to DataGrid. This sample is also for the beginners only. We will create a Databinding for DataGrid in a simple way using WCF and Linq to SQL. For more details: http://docs.google.com/Doc?... ......

Posted On Sunday, February 28, 2010 5:23 PM

Draggable Image on Silverlight
Hello Guys, Early this morning I’m thinking about the draggable Image in Silverlight. I created a sample with simple snippets. 1. Create one Image, rectangle, and button. 2. Create an event handler for Image. this.image1.MouseMove += new MouseEventHandler(image1_Mo... this.image1.MouseLeftButton... += new MouseButtonEventHandler(ima... this.image1.MouseLeftButtonUp += new MouseButtonEventHandler(ima... 3. Setting a variable private bool isDragging ......

Posted On Thursday, February 25, 2010 1:14 PM

Simple Encrypt and Decrypt on Silverlight
Hello Guys, I have sample code here on how to create a simple encryption and decryption on Silverlight. First, I created a PASSWORD from SL Controls. A Three Button for encryption, decryption, clear. A one textblock and one textbox. Second, I created a simple function for Encryption and Decryption and variables. byte[] _encryted; byte[] _decryted; string s; private string EncrytedString(string str) { _encryted = System.Text.Encoding.Unicod... s = Convert.ToBase64String(_enc... return ......

Posted On Friday, February 19, 2010 2:59 PM

Copyright © Sayre Collado | Powered by: GeeksWithBlogs.net | Join free