<%@ Register TagPrefix="Title" TagName="TitleShow" Src="/aspnetdata/Title.ascx" %>
<html>
<head>
	<script language="C#" runat="server">
	void Page_load(object sender, EventArgs e){
		string k,p;
		int h;
		for(int i=0;i<=Page.Controls[0].Controls.Count-1;i++){
		k=Page.Controls[0].Controls[i].ID;
		h=k.Length;
		p=k.Remove(0,h-3);
		if(p=="Acc" | p=="VBA"){
			Page.Controls[0].Controls[i].Visible=false;
		}
	}
	}
	void Imagelick(object sender,CommandEventArgs e){
		//Label1.Text="按下左键的X坐标为：" + e.X + "，Y坐标为：" + e.Y;
		if(e.CommandArgument=="access"){
			AccessLink1.Visible=true;
			VBALink1.Visible=false;
			VBALink2.Visible=false;
		}
		else if(e.CommandArgument=="vba"){
			AccessLink1.Visible=false;
			VBALink1.Visible=true;
			VBALink2.Visible=true;
		}
	}
	</script>
</head>
<body background="/aspnetdata/images/winback.gif">
<Title:TitleShow id="BookT" Runat="server" />
<form id="nform" runat="server">
<asp:ImageButton id=Button1 ImageUrl="ACSMA.GIF" BorderWidth="0" CommandArgument="access" oncommand="Imagelick" runat="server"/>
<asp:ImageButton id=Button2 ImageUrl="VBASMA.GIF" BorderWidth="0" CommandArgument="vba" oncommand="Imagelick" runat="server"/>
<p><asp:hyperlink id=AccessLink1 NavigateUrl="http://access.winwalk.com.tw/faq/4.htm" runat="server">更改类型时，显示字段数过多的信息，应如何处理?</asp:hyperlink>
<p><asp:hyperlink id=VBALink1 NavigateUrl="http://access.winwalk.com.tw/faq/protect.htm" runat="server">如何在Office各软件保护VBA程序代码，不允许用户查看程序</asp:hyperlink>
<p><asp:hyperlink id=VBALink2 NavigateUrl="http://access.winwalk.com.tw/faq/vba4.htm" runat="server">如何在VBA程序代码查找错误?</asp:hyperlink>
<p><asp:Label id=Label1 align="left" runat="server" />
    </form>
</body>
</html>