您好,登录后才能下订单哦!
unity3d 虚拟现实在操作过程中是否需要使用控件呢?答案是肯定的。那么关于unity3d 虚拟现实的控件使用方法您又是否了解呢?不了解也没关系,现在就跟小编一起来详细的看看unity3d 虚拟现实的控件使用方法吧。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<aspinkButton ID="LinkButton1" runat="server">first</aspinkButton>
<aspinkButton ID="LinkButton2" runat="server">second</asp:LinkButton>
<asp:LinkButton ID="LinkButton3" runat="server">third</asp:LinkButton>
<br />
<hr />
<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex = 1>
<asp:View ID="View1" runat="server">
this is the first page
</asp:View>
<asp:View ID="View2" runat="server">
this is the second page
</asp:View>
<asp:View ID="View3" runat="server">
this is the third page
</asp:View>
</asp:MultiView>
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
this.MultiView1.ActiveViewIndex = 0;
}
protected void LinkButton2_Click(object sender, EventArgs e)
{
this.MultiView1.ActiveViewIndex = 1;
}
protected void LinkButton3_Click(object sender, EventArgs e)
{
this.MultiView1.ActiveViewIndex = 2;
}
}
View Code
//引用Access文本数据的类
using System.Data.OleDb;
/// <summary>
/// DBConnection 的摘要说明
/// </summary>
public class DBConnection
{
OleDbConnection con = null;
public DBConnection()
{
con = new OleDbConnection("rovider=Microsoft.Jet.OLEDB.4.0; Data Source=E:\\northwind.mdb;");
}
public OleDbConnection Con
{
get { return con; }
set { con = value; }
}
}
/// <summary>
/// ProductsInfo 的摘要说明
/// </summary>
public class ProductsInfo
{
//字段
int productid;
string productname;
decimal unitprice;
int categoryid;
public ProductsInfo()
{
//
// TODO: 在此处添加构造函数逻辑
//
public ProductsInfo(int productid, string productname, decimal unitprice, int categoryid)
{
this.productid = productid;
this.productname = productname;
this.unitprice = unitprice;
this.categoryid = categoryid;
}
public int Productid
{
get { return productid; }
set { productid = value; }
}
public string Productname
{
get { return productname; }
set { productname = value; }
}
public decimal Unitprice
{
get { return unitprice; }
set { unitprice = value; }
}
public int Categoryid
{
get { return categoryid; }
set { categoryid = value; }
}
View Code
using System.Data.OleDb;
using System.Collections.Generic;
/// <summary>
/// ProductsOper 的摘要说明
/// </summary>
public class ProductsOper
{
public ProductsOper()
{
//
// TODO: 在此处添加构造函数逻辑
//
unity3d 虚拟现实的控件使用方法比较考验程序员对于unity3d 的熟悉度以及基本操作技术的掌握。因为如果你对于unity3d 不够熟悉,基本的操作不了解的话那么在进行unity3d 虚拟现实的控件使用的时候就会遇到难题,难以顺利的完成unity3d 虚拟现实的控件使用操作。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。