示例#1
0
文件: ContrStaff.cs 项目: mnisl/OD
		private void butAccounting_Click(object sender,System.EventArgs e) {
			if(!Security.IsAuthorized(Permissions.Accounting)) {
				return;
			}
			if(FormA==null || FormA.IsDisposed) {
				FormA=new FormAccounting();
			}
			FormA.Show();
			if(FormA.WindowState==FormWindowState.Minimized) {
				FormA.WindowState=FormWindowState.Normal;
			}
			FormA.BringToFront();
		}
示例#2
0
 private void butAccounting_Click(object sender,System.EventArgs e)
 {
     if(!Security.IsAuthorized(Permissions.Accounting)) {
         return;
     }
     FormAccounting FormA=new FormAccounting();
     FormA.Show();
 }