Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Tutorials > CSharp Tutorials

Vote on your favorite hash algorithm here!

CSharp Tutorials Tutorials for C#

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-08-2008, 05:37 PM
Rammer124 Rammer124 is offline
Newbie
 
Join Date: Feb 2008
Posts: 10
Credits: 0
Rep Power: 0
Rammer124 is on a distinguished road
Default Inkpad Tutorial - Visual C# 2008 Express

I am sorry I don't have any pictures... But I am not going to take the time to host them...

First, start a Wpf Application. You can make this any size you want.

What you will need:
2 buttons, default size works great.
1 ink canvas. I fit it nearly to the edges on right, left, and top. I left just under an inch of space at the bottom.

You have no need for renaming items in this tutorial, just leave them the way they are.

Put the ink canvas on whatever size background you want.

Change the background color of the form to anything but white...

Then you want to add the two buttons into the inch of space you left at the bottom.

Label one of them "Clear", and the other one "Close". Double click on the button "Clear", and type within the brackets,
Code:
this.inkCanvas1.Strokes.Clear();
Remember, inkCanvas1 is the default name for the ink canvas. If you renamed it, use the new name after "this." and before ".Strokes"

For the Close button, double click on it. This code is very simple to remember... Just type in,
Code:
this.Close();
Now, press F5 to run. Did it work? My instructions on this were correct, as they worked to create one for me. I may create a video tutorial soon as my words weren't the best. Sorry if it didn't help, your welcome if it did!

Remember, this is my first tutorial, so be easy on the criticism.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 02-08-2008, 05:48 PM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,149
Credits: 112
Rep Power: 16
Lop will become famous soon enough
Default

What is a WPF application and I've never used an inkCanvas, is this new in 08?

Nice tutorial.
__________________
Lop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-09-2008, 11:35 AM
Rammer124 Rammer124 is offline
Newbie
 
Join Date: Feb 2008
Posts: 10
Credits: 0
Rep Power: 0
Rammer124 is on a distinguished road
Default

I don't know if it's new in '08, I started with this about 2-3 days ago.

I will upload a video of me creating one, the computer I wrote the tutorial on had really low memory, ran way to slow to do too much. I am on a faster computer now, should work. Thanks for the compliment!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-12-2008, 12:42 AM
blue's Avatar   
blue blue is offline
Newbie
 
Join Date: Feb 2008
Location: wa
Posts: 8
Credits: 0
Rep Power: 0
blue is on a distinguished road
Send a message via MSN to blue
Default can't find

i can't find the ink canvas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-12-2008, 05:56 PM
Rammer124 Rammer124 is offline
Newbie
 
Join Date: Feb 2008
Posts: 10
Credits: 0
Rep Power: 0
Rammer124 is on a distinguished road
Default

Sorry, you have to go to "Choose Items" in the toolbox, then to WPF, then you simply find Ink Canvas. Hope you liked this tutorial!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 02-18-2008, 09:15 PM
blue's Avatar   
blue blue is offline
Newbie
 
Join Date: Feb 2008
Location: wa
Posts: 8
Credits: 0
Rep Power: 0
blue is on a distinguished road
Send a message via MSN to blue
Default

thz that helped
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio 2008: C# Hello World Tutorial Jordan CSharp Tutorials 4 08-22-2008 10:44 AM
Tutorial: Visual Studio 2008 Obfuscating with Dotfuscator Jordan Tutorials 0 02-08-2008 02:01 PM
Visual Studio 2008 Express Beta 2 Download Jordan Programming News 2 08-03-2007 01:05 PM
John's Java Tutorial Index John Java Tutorials 0 01-11-2007 03:05 PM
Visual Studio 2005 Express Edition Crane Software Development Tools 9 05-25-2006 06:17 PM


All times are GMT -5. The time now is 06:07 PM.

Contest Stats

Xav ........ 1359.44
MeTh0Dz|Reb0rn ........ 1072.63
WingedPanther ........ 911.18
marwex89 ........ 906.86
morefood2001 ........ 899.18
John ........ 887.37
Brandon W ........ 770.65
chili5 ........ 312.39
Steve.L ........ 264.99
dcs ........ 232.34

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 83%

Ads