Beispiel #1
0
 private void MenuItem_OS_Information_Click(object sender, RoutedEventArgs e)
 {
     Cip.CipOsVersion osVersion = new CipOsVersion();
     string osInfoString = osVersion.GetInfoString();
     System.Windows.MessageBox.Show(
         osInfoString, 
         "Operation System info", 
         System.Windows.MessageBoxButton.OK, 
         System.Windows.MessageBoxImage.Information);
 }
Beispiel #2
0
        public WindowMain()
        {

            //Information about OS
            _osVersion = new CipOsVersion();
        }
Beispiel #3
0
 private void oSInformationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Cip.CipOsVersion osVersion = new CipOsVersion();
     string osInfoString = osVersion.GetInfoString();
     MessageBox.Show(osInfoString, "Operation System info", MessageBoxButtons.OK, MessageBoxIcon.Information);
 }