Beispiel #1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (ProductIdChanger.ChangeProductID(txtProductId.Text) == true)
     {
         MessageBox.Show("Changed Successfully");
     }
     else
     {
         MessageBox.Show("Error Try Running App as Administrator");
     }
     txtProductId.Text = ProductIdChanger.SeeProductID();
 }
Beispiel #2
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            #region UnComment This Code On 32it System's

            if (Environment.Is64BitOperatingSystem)
            {
                MessageBox.Show("Your windows is 64bit please download 64bit verison.");
                System.Diagnostics.Process.Start("http://lerphub.com/");
                Application.Current.Shutdown();
            }

            #endregion

            txtProductId.Text = ProductIdChanger.SeeProductID();
        }