private void frmRevManage_Load(object sender, EventArgs e) { lblNum.Text = SelectCount.ToString(); BindListView(); if (RMEnumStatus == RMEnum.待操作) { btnGiveup.Visible = false; btnRetry.Visible = false; chk_stores.Checked = true; chk_stores_Click(null, null); chk_stores.Enabled = false; } }
private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (questionkind.SelectedIndex == 0) { App.teacher.PublishChoiceQuestion(); ChoicePage = new SelectCount(new List <int> { 0, 0, 0, 0, 0 }); ChoicePage.Show(); } else if (questionkind.SelectedIndex == 1) { App.teacher.PublishTFQuestion(); TFPage = new JudgeCount(new List <int> { 0, 0, 0 }); TFPage.Show(); } }