Esempio n. 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);
 }
Esempio n. 2
0
        public WindowMain()
        {

            //Information about OS
            _osVersion = new CipOsVersion();
        }
Esempio n. 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);
 }