3 Reusable Code Snippet Topics

Remove Filter
Member Avatar for
Member Avatar for dickersonka

A common question that routinely comes up is how to share data between forms. I have outlined two common ways to pass data between forms, among many others. I have used a public property on the output form to accept a value and update the display. I also have a …

Member Avatar for jamespello
1
2K
Member Avatar for zinnqu

Using the Load and Unload events of the Forms add these subs to handle a simple fade in and out effect. This is not limited to just one form. The subroutine definition can be added to any global class allowing the use on any form or sub-form.

Member Avatar for vaibhav.garg.9484
3
5K
Member Avatar for ddanbe

These are (I guess) the most basic printing instructions in C#, to let some printed paper coming out of a printer. Start a new Forms application, drop a ComboBox, a Label and a Button on the form. Implement a form Load and a Button Click event and fill in the …

2
358

The End.