Windows Forms C# - Drawing and GDI+

| 2018/02/03 05:08
The System.Drawing and GDI + package The System.Drawing package provides access to GDI + Windows features:
  • Drawing surfaces
  • Working with graphics and graphical transformations
  • Drawing geometric shapes
  • Working with images
  • Working with text and fonts
  • Printing on printer

c# combobox set selected item by item's text

| 2017/10/05 02:52
C# Combobox defined with name my_combobox
private System.Windows.Forms.ComboBox my_combobox;

Define string variable with the text of the combobox item that has to be selected. For example, if the combobox items have text values "item_a" "item_b" "item_c" ... and the item which text is "item_b" has to be selected
TAGS: |

Windows Forms C# - Working with directories and files

| 2018/02/07 04:42
Reading from a text file Text files provide the ideal solution for reading and writing data that should be used frequently, but too voluminous to manually enter each time the program is started.

Windows Forms C# - Forms and Dialogs

| 2018/02/02 22:01

Forms and dialogs in Windows Forms are windows that contain controls. They can be different types: to have or to not have a frame, to be modular or not to be, to be stretchable or not to be, to be above all other windows or not to be, and so on. The System.Windows.Forms.Form class The System.Windows.Forms.Form class is a base class for all for

Windows Forms C# - Loops and Arrays

| 2018/02/02 13:42
Loops 
Programming often requires repeated execution of a given sequence of operations. Loop is a basic programming design that allows multiple execution of a source code snippet. Depending on the type of the loop, the program code in it is repeated either a fixed number of times or while a condition is in effect. A loop that never ends is called an infinite loop.