..
This commit is contained in:
		| @@ -27,10 +27,22 @@ namespace FPJ0000 | ||||
|             this.FormClosed += FProjectSchedule_FormClosed; | ||||
|             this.FormClosing += FProjectSchedule_FormClosing; | ||||
|             this.dsPRJ.EETGW_ProjectsSchedule.TableNewRow += ProjectsSchedule_TableNewRow; | ||||
|             //this.dsPRJ.EETGW_ProjectReson.TableNewRow += EETGW_ProjectReson_TableNewRow; | ||||
| 			//this.dsPRJ.EETGW_ProjectReson.TableNewRow += EETGW_ProjectReson_TableNewRow; | ||||
|  | ||||
| 			this.KeyDown += FProjectSchedule_KeyDown; | ||||
|         } | ||||
|  | ||||
|         private void FProjectSchedule_FormClosing(object sender, FormClosingEventArgs e) | ||||
| 		private void FProjectSchedule_KeyDown(object sender, KeyEventArgs e) | ||||
| 		{ | ||||
| 			if(e.KeyCode == Keys.F11) | ||||
| 			{ | ||||
|                 var cur = this.panel2.Visible; | ||||
|                 panel4.Visible = !cur; | ||||
|                 panel2.Visible = !cur; | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 		private void FProjectSchedule_FormClosing(object sender, FormClosingEventArgs e) | ||||
|         { | ||||
|             this.Validate(); | ||||
|             this.bs.EndEdit(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi