コード例 #1
0
        private void nextBtn_Click(object sender, RoutedEventArgs e)
        {
            if (string.IsNullOrWhiteSpace(ConfigurationHelper.GetConfig(ConfigItemName.softwareVersion.ToString())))
            {
                MessageBox.Show("请选择软件的版本!");
                return;
            }
            RegisterW w = new RegisterW(null);

            w.Show();
            this.Close();
        }
コード例 #2
0
 private void primaryCompanyRB_Checked(object sender, RoutedEventArgs e)
 {
     if (primaryCompanyRB.IsChecked == true)
     {
         RegisterW w = (RegisterW)parentWindow;
         if (w.companyOrganizationType == CompanyOrganizationType.Primary.ToString())
         {
             w.organizationChanged = false;
         }
         else
         {
             w.organizationChanged = true;
         }
         w.companyOrganizationType = CompanyOrganizationType.Primary.ToString();
     }
 }