private void Button_Click_2(object sender, RoutedEventArgs e) { if (SoftRegister.VerifyID()) { MessageBox.Show("软件已注册!"); } else { MessageBox.Show("软件未注册!"); } }
private void Button_Click_1(object sender, RoutedEventArgs e) { SoftRegister.UnLoadID(); }
private void Button_Click(object sender, RoutedEventArgs e) { SoftRegister.RegisterID(); MessageBox.Show("软件注册成功!"); }