using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace SUNLIGHT_CDKEY { /// /// MainWindow.xaml 的交互逻辑 /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } <<<<<<< HEAD <<<<<<< HEAD private void DURATION_DropDownClosed(object sender, EventArgs e) { T_M.Text = "0"; T_Y.Text = "0"; T_D.Text = "0"; if (DURATION.Text == "1") { T_M.Text = "1"; } else if (DURATION.Text == "2") { T_M.Text = "2"; } else if (DURATION.Text == "3") { T_M.Text = "3"; } else if (DURATION.Text == "6") { T_M.Text = "6"; } else if (DURATION.Text == "12") { T_Y.Text = "1"; } else if (DURATION.Text == "FOREVER") { T_Y.Text = "99"; } } private void Button_Click(object sender, RoutedEventArgs e) { } ======= >>>>>>> 768827d5435e8f9e34d3db0c7dbb91737195a206 ======= >>>>>>> 768827d5435e8f9e34d3db0c7dbb91737195a206 } }