|
|
|
|
|
Total Hits: 8 | Today: 0
|
Author: Tomohiro
|
Rating:
|
|

I am a beginner in C# for 2 months. And recently, I had a hard time to find out how to set values into ComboBox items. I was looking for the answer from books, sample code in Internet and MSDN. We can make it display Primary ID instead of some meaningful names, and that was not what I wanted. I do not want to see meaningless ID anymore in my life! The hint to find it out is in the MSDN. You can find a code in the ValueMember section. But the code is 80%. Something is missing... I tried to find i...
|
|
|
|
Total Hits: 9 | Today: 0
|
Author: Marc Clifton
|
Rating:
|
|

This is a concept piece for something I've figured we should all be able to do at this point with regards to software development, but it seems we're still years away from it. I was inspired to resurrect this idea from a conversation I had with Jim Crafton today (June 10, 2009). It wasn't anything specific that we talked about, but it inspired me to put this together. The idea is to keep components completely separated from each other, treating them as producers and consumers of information, a...
|
|
|
|
Total Hits: 44 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

The following example uses an InplaceBitmapMetadataWriter to write metadata into an image. For the complete sample, see BitmapMetadata Sample....
|
|
|
|
Total Hits: 44 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

This example illustrates several ways in which a page can be navigated to from a NavigationWindow. It is possible for a NavigationWindow to navigate to a page using one of the following: * The Source property. * The Navigate method....
|
|
|
|
Total Hits: 55 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

This example shows how to register an attached property and provide public accessors so that you can use the property in both Extensible Application Markup Language (XAML) and code. Attached properties are a syntax concept defined by Extensible Application Markup Language (XAML). Most attached properties for WPF types are also implemented as dependency properties. You can use dependency properties on any DependencyObject types....
|
|
|
|
Total Hits: 45 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

The following example creates an application that enables the user to drag selected strokes from one InkCanvas to the other....
|
|
|
|
Total Hits: 55 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

You can navigate to a page function using a uniform resource identifier (URI), just as you can when you navigate to a page. This is shown in the following example....
|
|
|
|
Total Hits: 89 | Today: 1
|
Author: ShahabFatemi
|
Rating:
|
|

I always wanted to know how to use controls such as TextBox, ComboBox, RadioButton, Button etc. in a DataGrid cell. You can also fire their events easily. Nowadays it's very simple to do this! You must create a DataGridTableStyle and add a DataGridTextboxColumns to it. After that, you can add each control you want to the DataGridTextboxColumns....
|
|
|
|
Total Hits: 102 | Today: 0
|
Author: T.Ashraf
|
Rating:
|
|

I was working on user control where i was trying to pass values from the pop user control to the parent page, it was very easy to use javascript and pass the value to the parent page, but it was not easy to find a way to pass value to the parent page with out javascript i did find a way to do this and want other developer to get some idea. pass value between the user control and aspx page with out the help of java script ....
|
|
|
|
Total Hits: 79 | Today: 0
|
Author: Massimiliano Conte
|
Rating:
|
|

First of all, remember: this is not the best way to make a Thumb Rotator!!! And now let's explain what a ThumbRotator is. It is a program wich you tell where are your pictures, and it will show them rotating slowly around an ellipse, pretending they are on a 3D space, simulating a mirror on the floor, using fake lighting alghorithms... In this article there is no DirectX, OpenGL and something like it around....
|
|
|
|
Total Hits: 170 | Today: 0
|
Author: David Ewen
|
Rating:
|
|

A project came up at work the other day requiring the ability to drag and drop any number of mail messages or mail message attachments from outlook into a WinForm application... Easy I thought, this has to be a common problem I will just jump on CodeProject find an example and with a bit of tweaking be running in no time. Now if your here I am sure you now know how little information there is available on this topic so I thought I would add to the very small pool with a complete example of how t...
|
|
|
|
Total Hits: 186 | Today: 1
|
Author: Umut Tezduyar
|
Rating:
|
|

There are couple of ways to reverse a linked list. One of them requires a pointer knowledge and one of them is pretty straight forward. In this article, 3 different ways of reversing a linked list is demonstrated. All the linked list reversing algorithms assume that given linked list is a double linked list. In this way, a new linked list will be created and all the items of the first linked list will be added to the new linked list in reverse order....
|
|
|
|
|
|