摘要: using System;using System.Data;using System.Data.SqlClient; namespace View{ public class GetDatabase { private string strSQL; //与SQL Server的连接字符串设置 // 阅读全文
posted @ 2019-05-05 10:10 _萧朗 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1.打开单个文件,获取文件名 private void On_Click(){ string filename=""; OpenFileDialog Dialog = new OpenFileDialog(); Dialog.Filter = "(*.ifc)|"; if (Dialog.ShowD 阅读全文
posted @ 2019-04-30 10:31 _萧朗 阅读(324) 评论(0) 推荐(0) 编辑
摘要: String数据转Matrix矩阵 private Matrix String_To_Matrix(string str) { int[] Remove_Num = new int[10]; int Remove_Int = 0; string Str_One = str; //{ {M11:1 M 阅读全文
posted @ 2019-01-03 14:35 _萧朗 阅读(634) 评论(0) 推荐(0) 编辑
摘要: //存文件方法 public void Save_File_Info(string Save_Path) { //根据路径,创建文件和数据流 FileStream FS = new FileStream(Save_Path, FileMode.Create); StreamWriter SW = n 阅读全文
posted @ 2019-01-03 14:12 _萧朗 阅读(235) 评论(0) 推荐(0) 编辑
摘要: XNA 中3D模型的显示: ModelMeshPart[] meshParts; Model start_model; Matrix[] dq_model_transforms; Matrix view = Matrix.CreateLookAt(new Vector3(72.93132f, 67. 阅读全文
posted @ 2018-12-25 15:45 _萧朗 阅读(339) 评论(0) 推荐(0) 编辑
摘要: XNA项目基础 using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using M 阅读全文
posted @ 2018-12-21 11:22 _萧朗 阅读(289) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System.Collections; using System.IO; using System.Collections.Generic; using System.Globalization; using UnityEngine.Networki 阅读全文
posted @ 2018-11-27 17:58 _萧朗 阅读(1546) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System.Collections; using System.IO; using System.Net; using System; using UnityEditor; public class WWWLoad : MonoBehaviour 阅读全文
posted @ 2018-11-20 14:11 _萧朗 阅读(10794) 评论(3) 推荐(0) 编辑
摘要: using UnityEngine; using UnityEngine.UI; using System.Collections; using MojingSample.CrossPlatformInput; public class transforms : MonoBehaviour { pu 阅读全文
posted @ 2018-11-15 15:36 _萧朗 阅读(505) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using UnityEngine.UI; using System.Collections; public class transforms : MonoBehaviour { public Text[] texts;//屏幕显示 public Transfo 阅读全文
posted @ 2018-11-12 12:43 _萧朗 阅读(311) 评论(0) 推荐(0) 编辑