| | |
| | | { |
| | | listBoxDay.Items.Add(i.ToString()); |
| | | } |
| | | |
| | | dict = BLL.AnaPrj.GetExistStatus( year, month ); |
| | | dict = BLL.AnaPrj.GetExistStatus( year, month ); |
| | | } |
| | | Dictionary<int, bool> dict = null; |
| | | |
| | |
| | | int year = Convert.ToInt32(spinEditYear.Text); |
| | | int month = Convert.ToInt32(comboBoxMonth.Text); |
| | | int day = listBoxDay.SelectedIndex + 1; |
| | | var yester1_day_anaPrj = IStation.BLL.AnaPrj.GetPrj(new DateTime(year,month,day)); |
| | | var yester1_day_anaPrj = IStation.BLL.AnaPrj.GetDefaultPrjByStartDay(new DateTime(year,month,day)); |
| | | if (yester1_day_anaPrj != null) |
| | | anaResultInfoManuCtrl1.SetBindingData(yester1_day_anaPrj); |
| | | else |
| | |
| | | if (!dict[e.Index + 1]) |
| | | { |
| | | e.DisplayText = string.Format("{0} (无)",e.Value); |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | private void 删除ToolStripMenuItem_Click(object sender, EventArgs e) |