資源簡介
IM即時通訊源碼(C#開發)有數據庫,適合開發借鑒和新手,下載請評論,

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Windows.Forms;
namespace?LanMsg
{
????static?class?Program
????{
????????///?
????????///?The?main?entry?point?for?the?application.
????????///?
????????[STAThread]
????????static?void?Main()
????????{
????????????IMLibrary.OleDb.DataAccess.ConStr?=?“Provider=Microsoft.Jet.OLEDB.4.0;Data?Source=Record.db;Persist?Security?Info=true;“;////;UID=Admin=admin;PWD=liggyiFormAccess.settings.LanMsgConnectionString;//初始化數據聯接字符串
????????????FormAccess.settings.PropertyChanged?+=?new?System.ComponentModel.PropertyChangedEventHandler(settings_PropertyChanged);
????????????///初始化表情
????????????for?(int?i?=?0;?i?195;?i++)
????????????????FormAccess.ImageListFace.Images.Add(i.ToString()?(System.Drawing.Image)FormAccess.resourceManager.Getobject(“_“?+?i.ToString()));
????????????FormAccess.ServerIP?=?System.Net.IPAddress.Parse(?FormAccess.resourceManager.GetString(“ServerIp“));
????????????FormAccess.ServerPort?=?Convert.ToInt32(FormAccess.resourceManager.GetString(“ServerPort“));
????????????//if?(My.Network.IsAvailable?&&?!My.Network.Ping(FormAccess.resourceManager.GetString(“ServerIp“)))
????????????//{
????????????//????MessageBox.Show(“與LanMsg服務器的網絡連接已經中斷,可能登錄會不成功!“?“提示“?MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????//}
????????????FormAccess.SetRegistryKey();
????????????//if?(!System.IO.File.Exists(Application.StartupPath?+?“\\DevComponents.DotNetBar2.dll“)?||
????????????//????!System.IO.File.Exists(Application.StartupPath?+?“\\Record.dll“)?||
????????????//????!System.IO.File.Exists(Application.StartupPath?+?“\\IMLibrary.dll“))
????????????//{
????????????//????MessageBox.Show(“程序所需要的組件已經丟失,請重新安裝LanMsg!“?“提示“?MessageBoxButtons.OK?MessageBoxIcon.Information);
????????????//????return;
????????????//}??
????????????//string?TempFile?=?Application.StartupPath?+?“\\DevComponents.DotNetBar2.dll“;
????????????//byte[]?b?=?new?byte[1];
????????????//long?fLength;
????????????//if?(!System.IO.File.Exists(TempFile))
????????????//{
????????????//????System.IO.Stream?tobjStream0?=?FormAccess.resourceManager.GetStream(“DevComponents_DotNetBar2“);?
????????????//????System.IO.Stream?f0?=?new?System.IO.FileStream(TempFile?System.IO.FileMode.CreateNew);
????????????//????fLength?=?tobjStream0.Length;
????????????//????for?(int?i?=?0;?i?????????????//????{
????????????//????????tobjStream0.Read(b?0?1);
????????????//????????f0.WriteByte(b[0]);
????????????//????}
????????????//????f0.Flush();
????????????//????f0.Close();
????????????//????tobjStream0.Close();
????????????//}
????????????//TempFile?=?Application.StartupPath?+?“\\Record.dll“;
????????????//if?(!System.IO.File.Exists(TempFile))
????????????//{
????????????//????System.IO.Stream?tobjStream1?=?FormAccess.resourceManager.GetStream?(“Record“);
????????????//????System.IO.Stream?f1?=?new?System.IO.FileStream(Tem
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1223??2007-11-11?09:21??softhy.net\C#_IM\IM\LanMsg\app.config
?????文件??????24513??2008-03-07?02:53??softhy.net\C#_IM\IM\LanMsg\Class\dataAccess.cs
?????文件???????2276??2008-03-02?12:58??softhy.net\C#_IM\IM\LanMsg\Class\exDepartment.cs
?????文件????????456??2007-08-08?17:43??softhy.net\C#_IM\IM\LanMsg\Class\exDepartmentCollention.cs
?????文件???????1080??2007-11-12?10:45??softhy.net\C#_IM\IM\LanMsg\Class\exNode.cs
?????文件???????5036??2008-03-11?00:36??softhy.net\C#_IM\IM\LanMsg\Class\exUser.cs
?????文件????????481??2007-08-15?20:08??softhy.net\C#_IM\IM\LanMsg\Class\exUserCollention.cs
?????文件??????30676??2008-03-13?23:57??softhy.net\C#_IM\IM\LanMsg\Class\FormAccess.cs
?????文件???????4373??2008-03-05?17:03??softhy.net\C#_IM\IM\LanMsg\Class\Group.cs
?????文件???????1363??2007-11-03?23:32??softhy.net\C#_IM\IM\LanMsg\Class\My.cs
?????文件????????933??2008-01-07?20:24??softhy.net\C#_IM\IM\LanMsg\Class\RecordIndexCollention.cs
????..A.SHR???????369??2008-03-06?13:26??softhy.net\C#_IM\IM\LanMsg\Class\vssver2.scc
?????文件???????3262??2007-07-26?04:36??softhy.net\C#_IM\IM\LanMsg\community.ico
?????文件??????18214??2007-12-15?21:24??softhy.net\C#_IM\IM\LanMsg\controls\MyAV.cs
?????文件??????10363??2007-08-29?08:51??softhy.net\C#_IM\IM\LanMsg\controls\MyAV.resx
?????文件???????1424??2007-11-06?17:53??softhy.net\C#_IM\IM\LanMsg\controls\NodeSuperTooltipProvider.cs
?????文件???????8074??2008-03-13?23:59??softhy.net\C#_IM\IM\LanMsg\controls\p2pFileTransmit.cs
?????文件??????15746??2008-03-13?23:59??softhy.net\C#_IM\IM\LanMsg\controls\p2pFileTransmit.Designer.cs
?????文件??????27546??2008-03-13?23:59??softhy.net\C#_IM\IM\LanMsg\controls\p2pFileTransmit.resx
?????文件??????17489??2008-03-11?00:37??softhy.net\C#_IM\IM\LanMsg\controls\sendMsgPanle.cs
?????文件??????18096??2008-03-10?09:04??softhy.net\C#_IM\IM\LanMsg\controls\sendMsgPanle.Designer.cs
?????文件??????21187??2008-03-10?09:04??softhy.net\C#_IM\IM\LanMsg\controls\sendMsgPanle.resx
?????文件???????9599??2008-03-13?23:59??softhy.net\C#_IM\IM\LanMsg\controls\Update.cs
?????文件???????7418??2008-03-13?23:59??softhy.net\C#_IM\IM\LanMsg\controls\Update.Designer.cs
?????文件???????7188??2008-03-13?23:59??softhy.net\C#_IM\IM\LanMsg\controls\Update.resx
?????文件??????51720??2008-03-13?23:49??softhy.net\C#_IM\IM\LanMsg\controls\UsersOpt.cs
?????文件???????8030??2008-03-03?09:50??softhy.net\C#_IM\IM\LanMsg\controls\UsersOpt.Designer.cs
?????文件??????19887??2008-03-03?09:50??softhy.net\C#_IM\IM\LanMsg\controls\UsersOpt.resx
????..A.SHR???????519??2008-03-06?13:28??softhy.net\C#_IM\IM\LanMsg\controls\vssver2.scc
?????文件??????78206??2006-11-14?19:53??softhy.net\C#_IM\IM\LanMsg\Emotions\100.gif
............此處省略405個文件信息
- 上一篇:C#程序實現Canny邊緣檢測算法
- 下一篇:c#二維碼打印
評論
共有 條評論