Beispiel #1
0
 private void barButtonItem12_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     FormYearSet fys = new FormYearSet();
     fys.TYPE = OperTable.rst220;
     fys.PID = ProjectUID;
     if (fys.ShowDialog() != DialogResult.OK)
         return;
     yAnge = oper.GetYearRange("Col5='" + GetProjectID + "' and Col4='" + OperTable.rst220 + "'");
     LoadData();
 }
Beispiel #2
0
 //设定年份
 private void barButtonItem4_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (!base.AddRight)
     {
         MsgBox.Show("您没有权限进行此项操作!");
         return;
     }
     FormYearSet fys = new FormYearSet();
     fys.TYPE = OperTable.rst110;
     fys.PID = ProjectUID;
     if (fys.ShowDialog() != DialogResult.OK)
         return;
     yAnge = oper.GetYearRange("Col5='" + GetProjectID + "' and Col4='" + OperTable.rst110 + "'");
     LoadData();
 }