91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小:
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-06-21
  • 語言: C#
  • 標簽: C#??

資源簡介

C#程序開發范例寶典(第3版).(配套源碼)

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.IO;
namespace?MenuHistory
{
????public?partial?class?Form1?:?Form
????{
????????string?address;
????????public?Form1()
????????{
????????????InitializeComponent();
????????????address?=?System.Environment.CurrentDirectory;
????????}

????????private?void?打開ToolStripMenuItem_Click(object?sender?EventArgs?e)
????????{
????????????openFileDialog1.FileName?=?““;
????????????this.openFileDialog1.ShowDialog();
????????????StreamWriter?s?=?new?StreamWriter(address?+?“\\Menu.ini“?true);
????????????s.WriteLine(openFileDialog1.FileName);
????????????s.Flush();
????????????s.Close();
????????????ShowWindows(openFileDialog1.FileName);

????????}

????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????StreamReader?sr?=?new?StreamReader(address?+?“\\Menu.ini“);
????????????int?i?=?this.文件ToolStripMenuItem.DropDownItems.Count?-?2;
????????????while?(sr.Peek()?>=?0)
????????????{
????????????????ToolStripMenuItem?menuitem?=?new?ToolStripMenuItem(sr.ReadLine());
????????????????this.文件ToolStripMenuItem.DropDownItems.Insert(i?menuitem);
????????????????i++;
????????????????menuitem.Click?+=?new?EventHandler(menuitem_Click);
????????????}
????????????sr.Close();
????????}

????????private?void?menuitem_Click(object?sender?EventArgs?e)
????????{
????????????ToolStripMenuItem?menu?=?(ToolStripMenuItem)sender;
????????????ShowWindows(menu.Text);
????????}
????????public?void?ShowWindows(string?fileName)
????????{
????????????Image?p?=?Image.FromFile(fileName);
????????????Form?f?=?new?Form();
????????????f.MdiParent?=?this;
????????????f.BackgroundImage?=?p;
????????????f.Size?=?p.Size;
????????????f.FormBorderstyle?=?FormBorderstyle.FixedSingle;
????????????f.MaximizeBox?=?false;
????????????f.Show();
????????}

????????private?void?退出ToolStripMenuItem_Click(object?sender?EventArgs?e)
????????{
????????????Application.Exit();
????????}

????????private?void?toolStripMenuItem1_Click(object?sender?EventArgs?e)
????????{
????????????foreach?(Form?form?in?this.MdiChildren)?{?if?(!form.IsDisposed)?{?form.Close();?}?}
????????}
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

????.CA....???1048576??2009-04-14?22:49??C#程序開發范例寶典(第3版).(配套源碼)\01\Database\db_01_Data.MDF

????.CA....???1048576??2009-04-14?22:49??C#程序開發范例寶典(第3版).(配套源碼)\01\Database\db_01_Log.LDF

????.CA....???????435??2014-01-17?12:04??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\bin\Debug\Menu.ini

????.CA....?????10752??2014-01-17?11:52??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\bin\Debug\MenuHistory.exe

????.CA....?????24064??2014-01-17?11:52??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\bin\Debug\MenuHistory.pdb

????.CA....?????14328??2014-01-17?12:04??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\bin\Debug\MenuHistory.vshost.exe

????.CA....???????490??2007-07-21?01:33??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\bin\Debug\MenuHistory.vshost.exe.manifest

????.CA....??????2347??2014-01-17?11:52??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\Form1.cs

????.CA....??????5494??2014-01-17?11:47??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\Form1.Designer.cs

????.CA....??????6216??2014-01-17?11:47??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\Form1.resx

????.CA....??????3733??2009-02-23?16:42??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\MenuHistory.csproj

????.CA....???????168??2014-01-17?11:31??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\MenuHistory.csproj.user

????.CA....??????2264??2014-01-17?12:04??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\obj\Debug\MenuHistory.csproj.FileListAbsolute.txt

????.CA....???????847??2014-01-17?11:47??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\obj\Debug\MenuHistory.csproj.GenerateResource.Cache

????.CA....?????10752??2014-01-17?11:52??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\obj\Debug\MenuHistory.exe

????.CA....???????180??2014-01-17?11:47??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\obj\Debug\MenuHistory.Form1.resources

????.CA....?????24064??2014-01-17?11:52??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\obj\Debug\MenuHistory.pdb

????.CA....???????180??2014-01-17?11:33??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\obj\Debug\MenuHistory.Properties.Resources.resources

????.CA....???????492??2009-02-23?16:32??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\Program.cs

????.CA....??????1354??2009-02-23?16:32??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\Properties\AssemblyInfo.cs

????.CA....??????2868??2009-02-23?16:32??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\Properties\Resources.Designer.cs

????.CA....??????5612??2009-02-23?16:32??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\Properties\Resources.resx

????.CA....??????1095??2009-02-23?16:32??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\Properties\Settings.Designer.cs

????.CA....???????249??2009-02-23?16:32??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory\Properties\Settings.settings

????.CA....???????923??2009-02-23?16:32??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory.sln

????.CA..H.?????18944??2014-01-17?14:10??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_01\MenuHistory\MenuHistory.suo

????.CA....?????24576??2009-02-23?16:54??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_02\UniteMenu\UniteMenu\bin\Debug\UniteMenu.exe

????.CA....?????28160??2009-02-23?16:54??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_02\UniteMenu\UniteMenu\bin\Debug\UniteMenu.pdb

????.CA....?????14328??2009-02-23?16:54??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_02\UniteMenu\UniteMenu\bin\Debug\UniteMenu.vshost.exe

????.CA....??????1353??2009-02-23?16:54??C#程序開發范例寶典(第3版).(配套源碼)\01\Ex01_02\UniteMenu\UniteMenu\Form1.cs

............此處省略18795個文件信息

評論

共有 條評論