您好,登錄后才能下訂單哦!
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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。