xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 325KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-06
  • 語言: 其他
  • 標(biāo)簽:

資源簡介

這個(gè)程序,我是為團(tuán)購商家寫的一個(gè)程序,其實(shí),里面有一個(gè)“導(dǎo)出”功能,我本來想優(yōu)化成導(dǎo)出Excel功能的,但是由于團(tuán)購商家沒有需求,所以,我就沒有去寫這個(gè)功能了。需要此功能的朋友私密我

資源截圖

代碼片段和文件信息

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;

namespace?訂單號(hào)隨機(jī)生成
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}

????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{

????????}

????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????//產(chǎn)生后面位數(shù)的隨機(jī)數(shù)
????????????int?txtmin?=?Convert.ToInt32(textmin.Text);
????????????int?txtmax?=?Convert.ToInt32(textmax.Text);
????????????int?range?=?txtmax?-?txtmin;

????????????int?txtgeshu?=?Convert.ToInt32(textgeshu.Text);
????????????int?flag?=?0;


????????????Random?rnd?=?new?Random(DateTime.Now.Millisecond);
????????????int[]?suijiNumbers?=?Enumerable.Range(txtmin?range).OrderBy(i?=>?rnd.Next()).Take(txtgeshu).ToArray();



????????????//if?(textxuhao?==?““)
????????????//{
????????????//????//直接執(zhí)行生成隨機(jī)數(shù)就可以了,不需要添加序號(hào)了
????????????//}


????????????//獲得有規(guī)律的序列號(hào)
????????????int[]?suijiXuhao=new?int[txtgeshu];
????????????
????????????for?(int?i?=0;?i?????????????{
????????????????suijiXuhao[i]?=?i;
????????????}





????????????for?(int?i?=?0;?i?????????????{

????????????????flag?=?methon.InsertNumber(suijiXuhao[i].ToString().Trim()+suijiNumbers[i].ToString().Trim());
????????????}



????????????if?(flag?!=?0)
????????????{
????????????????MessageBox.Show(“生成成功““提示“MessageBoxButtons.OKMessageBoxIcon.Asterisk);
????????????}
????????????else
????????????{
????????????????MessageBox.Show(“生成失敗“);
????????????}
???????????







????????????//這種辦法來打亂下標(biāo)來隨機(jī)一段數(shù)組
????????//static?public?int[]?GetNoRepeatRandNumber(int?len)
????????//{
????????//????int[]?no?=?new?int[len];
????????//????for?(int?i?=?0;?i?????????//????{
????????//????????no[i]?=?i;
????????//????}
????????//????Random?rd?=?new?Random();
????????//????for?(int?i?=?len?-?1;?i?>=?0;?i--)
????????//????{
????????//????????int?temp?=?rd.Next(i+1);
????????//????????int?t?=?no[temp];
????????//????????no[temp]?=?no[i];
????????//????????no[i]?=?t;
????????//????}
????????//????return?no;
????????//}

????????????????
????????}



????????private?void?button3_Click(object?sender?EventArgs?e)
????????{
????????????int?flag?=?methon.output();
????????????if?(flag?==?2)
????????????{
????????????????MessageBox.Show(“數(shù)據(jù)導(dǎo)出成功,請(qǐng)于目錄文件夾提取文件“);
????????????}
????????????else?if(flag==1)
????????????{
????????????????MessageBox.Show(“數(shù)據(jù)導(dǎo)出失敗,請(qǐng)確認(rèn)數(shù)據(jù)庫存在數(shù)據(jù)“);
????????????}

????????????//導(dǎo)出數(shù)據(jù)后立馬刪除數(shù)據(jù)庫內(nèi)的數(shù)據(jù)以備下次使用
????????????methon.DeleteNumber();
????????}



????????private?void?button4_Click(object?sender?EventArgs?e)
????????{
????????????

????????????string?str?=?System.Environment.CurrentDirectory;
????????????//獲得當(dāng)前文件的目錄


?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件????????459??2011-10-27?17:41??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\app.config

?????文件????2293760??2011-10-29?15:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\bin\Debug\dingdan.mdf

?????文件?????573440??2011-10-29?15:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\bin\Debug\dingdan_log.ldf

?????文件??????28160??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\bin\Debug\訂單號(hào)隨機(jī)生成.exe

?????文件????????459??2011-10-27?17:41??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\bin\Debug\訂單號(hào)隨機(jī)生成.exe.config

?????文件??????40448??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\bin\Debug\訂單號(hào)隨機(jī)生成.pdb

?????文件??????14328??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\bin\Debug\訂單號(hào)隨機(jī)生成.vshost.exe

?????文件????????459??2011-10-27?17:41??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\bin\Debug\訂單號(hào)隨機(jī)生成.vshost.exe.config

?????文件????????490??2007-07-21?01:33??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\bin\Debug\訂單號(hào)隨機(jī)生成.vshost.exe.manifest

?????文件????2293760??2011-10-29?15:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\dingdan.mdf

?????文件?????573440??2011-10-29?15:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\dingdan_log.LDF

?????文件???????3406??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\Form1.cs

?????文件???????7693??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\Form1.Designer.cs

?????文件???????5814??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\Form1.resx

?????文件???????3707??2011-10-29?01:05??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\methon.cs

?????文件???????8724??2011-10-28?15:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\obj\Debug\ResolveAssemblyReference.cache

?????文件???????9216??2011-10-27?17:41??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\obj\Debug\TempPE\dingdanDataSet.Designer.cs.dll

?????文件???????1758??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\obj\Debug\訂單號(hào)隨機(jī)生成.csproj.FileListAbsolute.txt

?????文件????????905??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\obj\Debug\訂單號(hào)隨機(jī)生成.csproj.GenerateResource.Cache

?????文件??????28160??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\obj\Debug\訂單號(hào)隨機(jī)生成.exe

?????文件????????180??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\obj\Debug\訂單號(hào)隨機(jī)生成.Form1.resources

?????文件??????40448??2011-10-29?17:16??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\obj\Debug\訂單號(hào)隨機(jī)生成.pdb

?????文件????????180??2011-10-29?16:26??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\obj\Debug\訂單號(hào)隨機(jī)生成.Properties.Resources.resources

?????文件????????883??2011-10-29?14:51??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\Program.cs

?????文件???????1398??2011-10-27?17:08??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\Properties\AssemblyInfo.cs

?????文件???????2892??2011-10-27?17:08??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\Properties\Resources.Designer.cs

?????文件???????5612??2011-10-27?17:08??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\Properties\Resources.resx

?????文件???????1769??2011-10-27?17:41??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\Properties\Settings.Designer.cs

?????文件???????1083??2011-10-27?17:41??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\Properties\Settings.settings

?????文件??????12862??2011-10-29?15:21??訂單號(hào)隨機(jī)生成\訂單號(hào)隨機(jī)生成\星星.ico

............此處省略16個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源