示例#1
0
 public StuValidationCheck()
 {
     //
     // TODO: 在此处添加构造函数逻辑
     //
     students = new Students();
     getStuInfoByCondition = new GetStuInfoByCondition();
 }
示例#2
0
		public StuValidationCheck()
		{
			//
			// TODO: 在此处添加构造函数逻辑
			//
			students = new Students();
			getStuInfoByCondition = new GetStuInfoByCondition();
		}
示例#3
0
		public PhoneNum()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitForm call

			getStuInfoByCondition = new GetStuInfoByCondition();

			StuList = new CardInfoSystem().GetStuCardInfoList();//学生卡

			if(Thread.CurrentPrincipal.Identity.Name.ToLower()=="admin")
				return;

			DataSet TeaDept = new RolesSystem().GetRolesDuty(Convert.ToInt32(Thread.CurrentPrincipal.Identity.Name));

			string rowFilter = string.Empty;

			if(!Thread.CurrentPrincipal.IsInRole("园长")
				&&!Thread.CurrentPrincipal.IsInRole("保健"))
			{
				rowFilter = rowFilter + "info_gradeName = '"
					+TeaDept.Tables[0].Rows[0][0].ToString()+"'";
				rowFilter = rowFilter + " and info_className = '"
					+TeaDept.Tables[0].Rows[0][1].ToString()+"'";
			}

			StuView = StuList.Tables[0].DefaultView;
			StuView.RowFilter = rowFilter;

			gridControl1.DataSource = StuView;


			comboBoxEdit_Send_StuGrade.Properties.Items.Clear();
			comboBoxEdit_Send_StuGrade.Properties.Items.AddRange(new object[]{"全部"});
			comboBoxEdit_Send_StuGrade.SelectedItem = "全部";
			foreach(DataRow getGradeList in getStuInfoByCondition.getGradeInfo("","").Tables[0].Rows)
			{
				comboBoxEdit_Send_StuGrade.Properties.Items.AddRange(
					new object[]{getGradeList[1].ToString()});
			}
		}
示例#4
0
		public RealtimeInfo()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitForm call
			getStuInfoByCondition = new GetStuInfoByCondition();
			realTimeSumInfo = new RealtimeSumInfo();
			realTimeInfoPrintSystem = new RealtimeInfoPrintSystem();
			rolesSystem = new RolesSystem();

			#region 帮助
			helpProvider_RealtimeInfo_Student.HelpNamespace = System.IO.Path.GetDirectoryName(Application.ExecutablePath)
				+ CPTT.SystemFramework.Util.HELP_FILE_NAME;

			this.helpProvider_RealtimeInfo_Student.SetHelpKeyword(this.xtraTabPage1,"学生图形统计");
			this.helpProvider_RealtimeInfo_Student.SetHelpNavigator(this.xtraTabPage1, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_RealtimeInfo_Student.SetHelpString(this.xtraTabPage1, "");
			this.helpProvider_RealtimeInfo_Student.SetShowHelp(this.xtraTabPage1, true);

			this.helpProvider_RealtimeInfo_Student.SetHelpKeyword(this.xtraTabPage2,"学生数据统计");
			this.helpProvider_RealtimeInfo_Student.SetHelpNavigator(this.xtraTabPage2, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_RealtimeInfo_Student.SetHelpString(this.xtraTabPage2, "");
			this.helpProvider_RealtimeInfo_Student.SetShowHelp(this.xtraTabPage2, true);
			#endregion
		}
示例#5
0
		private void repositoryItemComboBox1_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			int i = gridView1.GetSelectedRows()[0];
			repositoryItemComboBox2.Items.Clear();
			DevExpress.XtraEditors.ComboBoxEdit cbeGrade = (DevExpress.XtraEditors.ComboBoxEdit)sender;
			string grade = cbeGrade.SelectedItem.ToString();
			if (grade.Length != 0  && !grade.Equals("不选择"))
			{
				repositoryItemComboBox2.Items.Add("不选择");
				GetStuInfoByCondition getStuInfoByCondition = new GetStuInfoByCondition();
				string getGradeNumberFromCombo = getStuInfoByCondition.getGradeInfo(
					grade,"").Tables[0].Rows[0][0].ToString();
				foreach(DataRow getClassList in getStuInfoByCondition.getClassInfo("","",
					getGradeNumberFromCombo).Tables[0].Rows)
				{
					repositoryItemComboBox2.Items.AddRange(
						new object[]{getClassList[1].ToString()});
				}
			}
			else 
			{
				if (grade.Equals("不选择"))
				{
					repositoryItemComboBox2.Items.Clear();
					repositoryItemComboBox2.Items.Add("不选择");
				}
			}

			gridView1.SetRowCellValue(i, gridView1.Columns["指定班级"], null);
			gridView1.SetRowCellValue(i, gridView1.Columns["指定年级"], grade);
		}
示例#6
0
		public NutritionManagement()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitForm call
			foodManagementSystem = new FoodManagementSystem();
			foodManagementPrintSystem = new FoodManagementPrintSystem();
			getStuInfoByCondition = new GetStuInfoByCondition();
			healthManagementSystem = new HealthManagementSystem();
			healthMgmt = new HealthMgmt();
			healthManagementPrintSystem = new HealthManagementPrintSystem();
			rolesSystem = new RolesSystem();

			useVersion = CPTT.SystemFramework.Util.UseVersion;

			#region 帮助
			helpProvider_NutritionInfo.HelpNamespace = System.IO.Path.GetDirectoryName(Application.ExecutablePath)
				+ CPTT.SystemFramework.Util.HELP_FILE_NAME;

			this.helpProvider_NutritionInfo.SetHelpKeyword(this.xtraTabPage1,"食物库存管理");
			this.helpProvider_NutritionInfo.SetHelpNavigator(this.xtraTabPage1, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_NutritionInfo.SetHelpString(this.xtraTabPage1, "");
			this.helpProvider_NutritionInfo.SetShowHelp(this.xtraTabPage1, true);

			this.helpProvider_NutritionInfo.SetHelpKeyword(this.xtraTabPage2,"每日食谱安排");
			this.helpProvider_NutritionInfo.SetHelpNavigator(this.xtraTabPage2, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_NutritionInfo.SetHelpString(this.xtraTabPage2, "");
			this.helpProvider_NutritionInfo.SetShowHelp(this.xtraTabPage2, true);

			this.helpProvider_NutritionInfo.SetHelpKeyword(this.xtraTabPage3,"集体膳食安排");
			this.helpProvider_NutritionInfo.SetHelpNavigator(this.xtraTabPage3, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_NutritionInfo.SetHelpString(this.xtraTabPage3, "");
			this.helpProvider_NutritionInfo.SetShowHelp(this.xtraTabPage3, true);

			this.helpProvider_NutritionInfo.SetHelpKeyword(this.xtraTabPage4,"膳食营养综合统计表");
			this.helpProvider_NutritionInfo.SetHelpNavigator(this.xtraTabPage4, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_NutritionInfo.SetHelpString(this.xtraTabPage4, "");
			this.helpProvider_NutritionInfo.SetShowHelp(this.xtraTabPage4, true);

			this.helpProvider_NutritionInfo.SetHelpKeyword(this.xtraTabPage5,"幼儿身体评测登记");
			this.helpProvider_NutritionInfo.SetHelpNavigator(this.xtraTabPage5, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_NutritionInfo.SetHelpString(this.xtraTabPage5, "");
			this.helpProvider_NutritionInfo.SetShowHelp(this.xtraTabPage5, true);

			this.helpProvider_NutritionInfo.SetHelpKeyword(this.xtraTabPage6,"幼儿评测结果浏览及打印");
			this.helpProvider_NutritionInfo.SetHelpNavigator(this.xtraTabPage6, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_NutritionInfo.SetHelpString(this.xtraTabPage6, "");
			this.helpProvider_NutritionInfo.SetShowHelp(this.xtraTabPage6, true);

			this.helpProvider_NutritionInfo.SetHelpKeyword(this.xtraTabPage7,"晨检及全日观察");
			this.helpProvider_NutritionInfo.SetHelpNavigator(this.xtraTabPage7, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_NutritionInfo.SetHelpString(this.xtraTabPage7, "");
			this.helpProvider_NutritionInfo.SetShowHelp(this.xtraTabPage7, true);

			this.helpProvider_NutritionInfo.SetHelpKeyword(this.xtraTabPage8,"服药登记");
			this.helpProvider_NutritionInfo.SetHelpNavigator(this.xtraTabPage8, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_NutritionInfo.SetHelpString(this.xtraTabPage8, "");
			this.helpProvider_NutritionInfo.SetShowHelp(this.xtraTabPage8, true);

			this.helpProvider_NutritionInfo.SetHelpKeyword(this.xtraTabPage9,"服药记录");
			this.helpProvider_NutritionInfo.SetHelpNavigator(this.xtraTabPage9, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_NutritionInfo.SetHelpString(this.xtraTabPage9, "");
			this.helpProvider_NutritionInfo.SetShowHelp(this.xtraTabPage9, true);

			#endregion	
		}
示例#7
0
		public FinanManagement()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitForm call
			
			getStuInfoByCondition = new GetStuInfoByCondition();
			finanInfoSystem = new FinanInfoSystem();
			finanMgmtInfoPrintSystem = new FinanMgmtInfoPrintSystem();

			#region 帮助
			helpProvider_FinanInfo.HelpNamespace = System.IO.Path.GetDirectoryName(Application.ExecutablePath)
				+ CPTT.SystemFramework.Util.HELP_FILE_NAME;

			this.helpProvider_FinanInfo.SetHelpKeyword(this,"简单财务功能");
			this.helpProvider_FinanInfo.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_FinanInfo.SetHelpString(this, "");
			this.helpProvider_FinanInfo.SetShowHelp(this, true);
			#endregion
		}
示例#8
0
		public CardManagement()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitForm call
			helpProvider_Help.HelpNamespace = Path.GetDirectoryName(Application.ExecutablePath)
				+ CPTT.SystemFramework.Util.HELP_FILE_NAME;

			getStuInfoByCondition = new GetStuInfoByCondition();

			dataNavigator_CardSent.Buttons.CustomButtons[0].Enabled = false;
			dataNavigator_CardSent.Buttons.CustomButtons[1].Enabled = false;

			Timer_SendCardOverTime.Interval = CPTT.SystemFramework.Util.SEND_CARD_TIMER_OVERTIME;
			Timer_ValidateCardOverTime.Interval = 10*1000;
			Timer_LeaveTime.Interval = 6000;
			timer_SychnDate.Interval = CPTT.SystemFramework.Util.SEND_CARD_TIMER_OVERTIME;

			cardsHasSend = new ArrayList();

			if(!Thread.CurrentPrincipal.IsInRole("园长")
				&&!Thread.CurrentPrincipal.IsInRole("保健")
				&&Thread.CurrentPrincipal.Identity.Name.ToLower()!="admin")
			{
				xtraTabPage_CardLogout.PageVisible = false;
				xtraTabPage_DataSynchAndReceive.PageVisible = false;
				simpleButton2.Visible = false;
				simpleButton_BatchSendStop.Visible = false;
				groupControl2.Visible = false;

				dataNavigator_CardSent.Buttons.EndEdit.Visible = false;
				dataNavigator_CardSent.Buttons.CustomButtons[0].Visible = false;
				dataNavigator_CardSent.Buttons.CustomButtons[1].Visible = false;
			}

			simpleButton_Send_StuCard_Click(null, null);
			simpleButton_BatchSendStuCard_Click(null, null);
			simpleButton_Logout_StuCard_Click(null, null);
			simpleButton_GetMobile_Click(null, null);
		}
示例#9
0
		public TeacherOnDutyInfo()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitForm call

			getStuInfoByCondition = new GetStuInfoByCondition();
			rolesSystem = new RolesSystem();

			dateEdit_TeaDutyDetailsSearByStartTime.EditValue = DateTime.Now;
			dateEdit_TeaDutyDetailsSearByEndTime.EditValue = DateTime.Now;
			dateEdit1.EditValue = DateTime.Now;
			dateEdit2.EditValue = DateTime.Now;
			dateEdit_DutyHistory.EditValue = DateTime.Now;

			LoadGradeClassInfo();

			DutyInfo = new DutySystem().GetDutyInfoList();

			BindDutyData();

			dataNavigator_DutyDetails.DataSource = DutyInfo.Tables[0];

			if(!Thread.CurrentPrincipal.IsInRole("园长") && Thread.CurrentPrincipal.Identity.Name.ToLower() != "admin" )
			{
				DataSet dsRolesDuty = rolesSystem.GetRolesDuty(Convert.ToInt32(Thread.CurrentPrincipal.Identity.Name));
				string gradeName = dsRolesDuty.Tables[0].Rows[0][0].ToString();
				string className = dsRolesDuty.Tables[0].Rows[0][1].ToString();

				comboBoxEdit_TeaDutyDetailsSearByGrade.Properties.Items.Clear();
				comboBoxEdit_TeaDutyDetailsSearByGrade.Properties.Items.AddRange(new object[]{gradeName});
				comboBoxEdit_TeaDutyDetailsSearByGrade.SelectedItem = gradeName;
				comboBoxEdit_TeaDutyDetailsSearByClass.Properties.Items.Clear();
				comboBoxEdit_TeaDutyDetailsSearByClass.Properties.Items.AddRange(new object[]{className});
				comboBoxEdit_TeaDutyDetailsSearByClass.SelectedItem = className;
			
				textEdit_TeaDutyDetailsSearByName.Text = new HealthManagementSystem().GetTeaName(Thread.CurrentPrincipal.Identity.Name);
				textEdit_TeaDutyDetailsSearByName.Properties.ReadOnly = true;
				textEdit_TeaDutyDetailsSearByID.Text = Thread.CurrentPrincipal.Identity.Name;
				textEdit_TeaDutyDetailsSearByID.Properties.ReadOnly = true;

				simpleButton_SaveDutyAsign.Enabled = false;

				dataNavigator_DutyDetails.Buttons.Append.Visible = false;
				dataNavigator_DutyDetails.Buttons.Remove.Visible = false;
				dataNavigator_DutyDetails.Buttons.EndEdit.Visible = false;
				xtraTabPage_TeaOnDutyReports.PageVisible = false;
	
				this.gridColumn4.OptionsColumn.AllowEdit = false;
				this.gridColumn5.OptionsColumn.AllowEdit = false;
				this.gridColumn6.OptionsColumn.AllowEdit = false;
				this.gridColumn7.OptionsColumn.AllowEdit = false;
				this.gridColumn8.OptionsColumn.AllowEdit = false;
				this.gridColumn9.OptionsColumn.AllowEdit = false;
				this.gridColumn10.OptionsColumn.AllowEdit = false;

			}
			if ( Thread.CurrentPrincipal.Identity.Name.ToLower() == "admin" )
			{
				simpleButton_SearTeaDutyDetails.Enabled = false;
				simpleButton3.Enabled = false;
				simpleButton_LoadHisDuty.Enabled = false;
				simpleButton_TeaDutySave.Enabled = false;
			}

			simpleButton3.Enabled = false;

			LoadSelectTeaDutyInfo();

			simpleButton1_Click(null,null);

			#region 帮助
			helpProvider_DutyInfo.HelpNamespace = System.IO.Path.GetDirectoryName(Application.ExecutablePath)
				+ CPTT.SystemFramework.Util.HELP_FILE_NAME;

			this.helpProvider_DutyInfo.SetHelpKeyword(this.xtraTabPage_TeaDutyDetails,"班次管理");
			this.helpProvider_DutyInfo.SetHelpNavigator(this.xtraTabPage_TeaDutyDetails, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_DutyInfo.SetHelpString(this.xtraTabPage_TeaDutyDetails, "");
			this.helpProvider_DutyInfo.SetShowHelp(this.xtraTabPage_TeaDutyDetails, true);

			this.helpProvider_DutyInfo.SetHelpKeyword(this.xtraTabPage_TeaOnDutyInfo,"出勤信息");
			this.helpProvider_DutyInfo.SetHelpNavigator(this.xtraTabPage_TeaOnDutyInfo, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_DutyInfo.SetHelpString(this.xtraTabPage_TeaOnDutyInfo, "");
			this.helpProvider_DutyInfo.SetShowHelp(this.xtraTabPage_TeaOnDutyInfo, true);

			this.helpProvider_DutyInfo.SetHelpKeyword(this.xtraTabPage_TeaOnDutyReports,"出勤信息分析");
			this.helpProvider_DutyInfo.SetHelpNavigator(this.xtraTabPage_TeaOnDutyReports, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_DutyInfo.SetHelpString(this.xtraTabPage_TeaOnDutyReports, "");
			this.helpProvider_DutyInfo.SetShowHelp(this.xtraTabPage_TeaOnDutyReports, true);
			#endregion
		}
示例#10
0
		public StudentBaseInfo()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitForm call
			getStuInfoByCondition = new GetStuInfoByCondition();
			stuValidationCheck = new StuValidationCheck();
			students = new Students();
			stuBaseInfoPrintSystem = new StuBaseInfoPrintSystem();
			rolesSystem = new RolesSystem();

			#region 帮助
			this.helpProvider_StuBaseInfo.HelpNamespace = System.IO.Path.GetDirectoryName(Application.ExecutablePath)
				+ CPTT.SystemFramework.Util.HELP_FILE_NAME;

			this.helpProvider_StuBaseInfo.SetHelpKeyword(this.xtraTabControl_StuBaseInfo,"学生基本信息管理");
			this.helpProvider_StuBaseInfo.SetHelpNavigator(this.xtraTabControl_StuBaseInfo, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_StuBaseInfo.SetHelpString(this.xtraTabControl_StuBaseInfo, "");
			this.helpProvider_StuBaseInfo.SetShowHelp(this.xtraTabControl_StuBaseInfo, true);
			#endregion
		}
示例#11
0
		public TransactionReminding()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitForm call

//			TeaList = new CardInfoSystem().GetTeaCardInfoList();//教师卡
//			TeaView = TeaList.Tables[0].DefaultView;
//
//			gridControl1.DataSource = TeaView;

			getStuInfoByCondition = new GetStuInfoByCondition();

			comboBoxEdit_Send_TeaGrade.Properties.Items.Clear();
			comboBoxEdit_Send_TeaGrade.Properties.Items.AddRange(new object[]{"全部"});
			comboBoxEdit_Send_TeaGrade.SelectedItem = "全部";
			foreach(DataRow deptRow in new RealtimeInfoStat_TeacherSystem().GetTeaDept().Tables[0].Rows)
			{
				comboBoxEdit_Send_TeaGrade.Properties.Items.AddRange(
					new object[]{deptRow[0].ToString()});
			}

			SelectTeaCardInfo(textEdit_Send_TeaName.Text.Trim(),textEdit_Send_TeaNumber.Text.Trim(),
				comboBoxEdit_Send_TeaGrade.SelectedItem.ToString(),comboBoxEdit_Send_TeaClass.SelectedItem.ToString().Trim());

			LoadTranInfo();

			#region 帮助
			helpProvider_TransactionInfo.HelpNamespace = System.IO.Path.GetDirectoryName(Application.ExecutablePath)
				+ CPTT.SystemFramework.Util.HELP_FILE_NAME;

			this.helpProvider_TransactionInfo.SetHelpKeyword(this,"事务提醒功能");
			this.helpProvider_TransactionInfo.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_TransactionInfo.SetHelpString(this, "");
			this.helpProvider_TransactionInfo.SetShowHelp(this, true);
			#endregion

		}
示例#12
0
		public StudentMorningCheckInfo()
		{
			// 该调用是 Windows.Forms 窗体设计器所必需的。
			InitializeComponent();

			// TODO: 在 InitializeComponent 调用后添加任何初始化
			getStuInfoByCondition = new GetStuInfoByCondition();
			stuAttendCalc = new StuAttendCalc();
			stuCheckInfo = new StudentCheckInfo();
			stuMorningCheckInfoPrintSystem = new StuMorningCheckInfoPrintSystem();
			rolesSystem = new RolesSystem();

			#region 帮助
			helpProvider_StuMorningCheckInfo.HelpNamespace = System.IO.Path.GetDirectoryName(Application.ExecutablePath)
				+ CPTT.SystemFramework.Util.HELP_FILE_NAME;

			this.helpProvider_StuMorningCheckInfo.SetHelpKeyword(this.xtraTabPage_MorningCheck,"幼儿晨检信息查询");
			this.helpProvider_StuMorningCheckInfo.SetHelpNavigator(this.xtraTabPage_MorningCheck, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_StuMorningCheckInfo.SetHelpString(this.xtraTabPage_MorningCheck, "");
			this.helpProvider_StuMorningCheckInfo.SetShowHelp(this.xtraTabPage_MorningCheck, true);

			this.helpProvider_StuMorningCheckInfo.SetHelpKeyword(this.xtraTabPage_BackHomeCheck,"幼儿晚接信息查询");
			this.helpProvider_StuMorningCheckInfo.SetHelpNavigator(this.xtraTabPage_BackHomeCheck, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_StuMorningCheckInfo.SetHelpString(this.xtraTabPage_BackHomeCheck, "");
			this.helpProvider_StuMorningCheckInfo.SetShowHelp(this.xtraTabPage_BackHomeCheck, true);

			this.helpProvider_StuMorningCheckInfo.SetHelpKeyword(this.xtraTabPage_FreeDefinition,"幼儿自定义信息查询");
			this.helpProvider_StuMorningCheckInfo.SetHelpNavigator(this.xtraTabPage_FreeDefinition, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_StuMorningCheckInfo.SetHelpString(this.xtraTabPage_FreeDefinition, "");
			this.helpProvider_StuMorningCheckInfo.SetShowHelp(this.xtraTabPage_FreeDefinition, true);

			this.helpProvider_StuMorningCheckInfo.SetHelpKeyword(this.xtraTabPage_MoreReport,"晨检信息综合统计报表");
			this.helpProvider_StuMorningCheckInfo.SetHelpNavigator(this.xtraTabPage_MoreReport, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_StuMorningCheckInfo.SetHelpString(this.xtraTabPage_MoreReport, "");
			this.helpProvider_StuMorningCheckInfo.SetShowHelp(this.xtraTabPage_MoreReport, true);
			#endregion
		}
示例#13
0
		private void SMSPhoneNumChoose_Load(object sender, System.EventArgs e)
		{
			getStuInfoByCondition = new GetStuInfoByCondition();

			PhoneNum = new SMSInfoSystem().GetAllStuPhoneNum();//学生卡
			PhoneNumView = PhoneNum.Tables[0].DefaultView;

			gridControl2.DataSource = PhoneNumView;

			comboBoxEdit_Send_StuGrade.Properties.Items.Clear();
			comboBoxEdit_Send_StuGrade.Properties.Items.AddRange(new object[]{"全部"});
			comboBoxEdit_Send_StuGrade.SelectedItem = "全部";
			foreach(DataRow getGradeList in getStuInfoByCondition.getGradeInfo("","").Tables[0].Rows)
			{
				comboBoxEdit_Send_StuGrade.Properties.Items.AddRange(
					new object[]{getGradeList[1].ToString()});
			}

		}
示例#14
0
		public StudentVisitInfo()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitForm call
			getStuInfoByCondition = new GetStuInfoByCondition();
			stuVisitInfoSystem = new StuVisitInfoSystem();
			stuVisitInfoPrintSystem = new StuVisitInfoPrintSystem();
			healthManagementSystem = new HealthManagementSystem();	
			rolesSystem = new RolesSystem();	
			
			#region  帮助
			helpProvider_StuVisitInfo.HelpNamespace = System.IO.Path.GetDirectoryName(Application.ExecutablePath)
				+ CPTT.SystemFramework.Util.HELP_FILE_NAME;

			this.helpProvider_StuVisitInfo.SetHelpKeyword(this.xtraTabPage_InfoMgmt,"幼儿家访信息管理");
			this.helpProvider_StuVisitInfo.SetHelpNavigator(this.xtraTabPage_InfoMgmt, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_StuVisitInfo.SetHelpString(this.xtraTabPage_InfoMgmt, "");
			this.helpProvider_StuVisitInfo.SetShowHelp(this.xtraTabPage_InfoMgmt, true);

			this.helpProvider_StuVisitInfo.SetHelpKeyword(this.xtraTabPage_InfoQuery,"幼儿家访信息检索");
			this.helpProvider_StuVisitInfo.SetHelpNavigator(this.xtraTabPage_InfoQuery, System.Windows.Forms.HelpNavigator.KeywordIndex);
			this.helpProvider_StuVisitInfo.SetHelpString(this.xtraTabPage_InfoQuery, "");
			this.helpProvider_StuVisitInfo.SetShowHelp(this.xtraTabPage_InfoQuery, true);
			#endregion
		}
示例#15
0
		public FinanManagement2()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitForm call

			getStuInfoByCondition = new GetStuInfoByCondition();
			finanInfoSystem = new FinanInfoSystem();
			finanMgmtInfoPrintSystem = new FinanMgmtInfoPrintSystem();

			dtGrade = getStuInfoByCondition.getGradeInfo("","").Tables[0];

			foreach(DataRow getGradeList in dtGrade.Rows)
			{
				comboBoxEdit_Grade.Properties.Items.AddRange(
					new object[]{getGradeList[1].ToString()});
			}
			comboBoxEdit_Grade.SelectedIndex = 0;

			foreach(DataRow getGradeList in dtGrade.Rows)
			{
				comboBoxEdit_grade2.Properties.Items.AddRange(
					new object[]{getGradeList[1].ToString()});
			}
			comboBoxEdit_grade2.SelectedIndex = 0;


			dateEdit_BalanceMonth.EditValue = DateTime.Now.Date;
			dateEdit_BalanceMonth2.EditValue = DateTime.Now.Date;

			if ( Thread.CurrentPrincipal.Identity.Name.ToLower() == "admin" )
			{
				btnStat.Enabled = false;
				btnSearch.Enabled = false;
				btnReport2.Enabled = false;
			}

			InitTemplate();

			Finan2Details.OnSaveSucceeded += new Finan2Details.SaveSucceedHandler(InitTemplate);
		}