Windows Forms C# - Variables, Strings and Boolean

| 2018/02/02 02:07
Variables: The variable is a container of information that can change its value. It provides the opportunity for:

Windows Forms C# - Controls and Code writing

| 2018/02/01 23:41
Control class The System.Windows.Forms.Control class is a base class, the basis for all graphical controls, and defines a unified control framework - a programming model on which controls to be developed and implemented. It defines the common properties and events for all controls.

Active Directory Time Synchronization with multiple domain controllers on different Hyper-V hosts

| 2017/10/19 03:42
By default, when virtual machine is created on Hyper-V host, its clock is "bound" to the virtualization host operating system clock via Hyper-V integration services. If there are two or more virtualization hosts in the same network, it may happen the operating system time on one of the hosts to be different comparing to another host.

Sysprep quick fix

| 2017/10/18 06:13
Sometime, sysprep operation may fail with the following error message:
System Preparation Tool 3.14A fatal error occurred while trying to sysprep the machineDetails can be found on Microsoft web site 

The quick fix is available here


c# Get selected item text from combobox

| 2017/10/18 06:03
C# Combobox defined with name my_combobox
private System.Windows.Forms.ComboBox my_combobox;

Read the text of the selected combobox item and assign it to string variable, then show it in message box.
string selected_item_text = my_combobox.GetItemText(my_combobox.SelectedItem); MessageBox.Show(selected_item_text);