您好,登錄后才能下訂單哦!
unity3d 虛擬現(xiàn)實(shí)在操作過程中是否需要使用控件呢?答案是肯定的。那么關(guān)于unity3d 虛擬現(xiàn)實(shí)的控件使用方法您又是否了解呢?不了解也沒關(guān)系,現(xiàn)在就跟小編一起來詳細(xì)的看看unity3d 虛擬現(xiàn)實(shí)的控件使用方法吧。
<%@ 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>無標(biāo)題頁</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文本數(shù)據(jù)的類
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: 在此處添加構(gòu)造函數(shù)邏輯
//
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: 在此處添加構(gòu)造函數(shù)邏輯
//
unity3d 虛擬現(xiàn)實(shí)的控件使用方法比較考驗(yàn)程序員對于unity3d 的熟悉度以及基本操作技術(shù)的掌握。因?yàn)槿绻銓τ趗nity3d 不夠熟悉,基本的操作不了解的話那么在進(jìn)行unity3d 虛擬現(xiàn)實(shí)的控件使用的時(shí)候就會(huì)遇到難題,難以順利的完成unity3d 虛擬現(xiàn)實(shí)的控件使用操作。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。