Simple but functional examples:
Windows Forms:
http://www.codeproject.com/KB/miscctrl/cutebutton.aspx
WPF:
More Related Contents:
- How to get ALL child controls of a Windows Forms form of a specific type (Button/Textbox)?
- Get a Windows Forms control by name in C#
- Best way to access a control on another form in Windows Forms?
- How to access a form control for another form?
- Word wrap for a label in Windows Forms
- Find a control in Windows Forms by name
- How to access Winform textbox control from another class?
- Pass click event of child control to the parent control
- Fake-scrolling containers with very many controls
- Is it appropriate to extend Control to provide consistently safe Invoke/BeginInvoke functionality?
- C# Get a control’s position on a form
- What is the difference between User Control, Custom Control and Component?
- Forcing a checkbox bound to a DataSource to update when it has not been viewed yet
- Catch Textbox Scroll Event?
- Resize Controls with Form Resize
- Why controls do not want to get removed?
- Why is the control inaccessible due to its protection level?
- Drop shadow in Winforms Controls?
- Change the location of an object programmatically
- Getting The Location Of A Control Relative To The Entire Screen?
- How can I read, write, and modify the contents of a notepad (.txt) file, in Winform and WPF? [duplicate]
- Close a MessageBox after several seconds
- Application.Exit
- .NET, event every minute (on the minute). Is a timer the best option?
- How do I create a message box with “Yes”, “No” choices and a DialogResult?
- How to add new line into txt file
- Change the borderColor of the TextBox
- Does the System.Windows.Forms.Timer run on a different thread than the UI?
- Getting HTML body content in WinForms WebBrowser after body onload event executes
- Fire Form KeyPress event