Guid结构的newguid方法.
唯一标识符GUID,newguid方法初始化GUID结构.public static guid newguid()
代码来自:codego.net/1/1/1/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace RandomFileName
{
public partial class Frm_Main : Form
{
public Frm_Main()
{
InitializeComponent();
}
private void btn_file_Click(object sender, EventArgs e)
{
FolderBrowserDialog P_FolderBrowserDialog =new FolderBrowserDialog();//创建文件夹对话框对象
if (P_FolderBrowserDialog.ShowDialog()==DialogResult.OK)//判断是否选择文件夹
唯一标识符GUID,newguid方法初始化GUID结构.public static guid newguid()
代码来自:codego.net/1/1/1/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace RandomFileName
{
public partial class Frm_Main : Form
{
public Frm_Main()
{
InitializeComponent();
}
private void btn_file_Click(object sender, EventArgs e)
{
FolderBrowserDialog P_FolderBrowserDialog =new FolderBrowserDialog();//创建文件夹对话框对象
if (P_FolderBrowserDialog.ShowDialog()==DialogResult.OK)//判断是否选择文件夹