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

  • 大小: 561KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-10
  • 語言: 其他
  • 標簽: 通信??協議??

資源簡介

這是我最近開發的通信工具,具有客戶機和服務器端。具有完整的用戶登陸、注冊、發送信息、增加好友、刪除好友、添加組、刪除組、查看好友信息。并且這個軟件中具有自定義的開發協議,和一些安全機制。

資源截圖

代碼片段和文件信息

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?comm1.Properties;

namespace?comm1
{
????public?partial?class?AddOrDelGroup?:?Form
????{
????????#region
????????private?string?addGroupStr=null;
????????private?string?delGroupStr?=?null;
????????#endregion
????????#region
????????public?string?AddGroupStr
????????{
????????????get
????????????{
????????????????return?addGroupStr;
????????????}
????????????set
????????????{
????????????????addGroupStr?=value;
????????????}
????????}

????????public?string?DelGroupStr
????????{
????????????get
????????????{
????????????????return?delGroupStr;
????????????}
????????????set
????????????{
????????????????delGroupStr?=?value;
????????????}
????????}
????????#endregion
????????public?AddOrDelGroup(string?str)
????????{
????????????InitializeComponent();
????????????if?(str?==?“del“)
????????????{
????????????????this.Text?=?“刪除組“;
????????????????label2.Text?=?“刪除組“;
????????????????button1.Text?=?“刪除“;
????????????}
????????????else?if?(str?==?“add“)
????????????{
????????????????this.Text?=?“添加組“;
????????????????label2.Text?=?“添加組“;
????????????????button1.Text?=?“添加“;
????????????}
????????????????
????????}
????????//獲取添加組的名稱。
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????int?flag?=?0;//標志位
????????????if?(this.Text?==?“添加組“)
????????????????addGroupStr?=?textBox1.Text.Trim();
????????????else
????????????{
????????????????delGroupStr?=?textBox1.Text.Trim();
????????????????var?groupSplit?=?Settings.Default.listViewGroup_r.Split(new?char[]?{?‘&‘?});
???????????????
????????????????for?(int?i?=?0;?i?????????????????{
????????????????????if?(groupSplit[i].Trim()?==?DelGroupStr.Trim())
????????????????????{
????????????????????????flag?=?1;
????????????????????????DelGroupStr?=(3+?i)+“#“+DelGroupStr;//返回的將是這個組的索引。
????????????????????????Console.WriteLine(“delgroupstr:“?+?DelGroupStr);
????????????????????????break;
????????????????????}
????????????????}
????????????????if?(flag?==?0)
????????????????????MessageBox.Show(“不存在這個組,不能刪除“?“警告“);
????????????}
???????????this.Close();
????????}
????}
}

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

?????文件???????2489??2009-08-27?10:27??comm1\comm1\comm1\AddOrDelGroup.cs

?????文件???????3653??2009-08-26?20:34??comm1\comm1\comm1\AddOrDelGroup.Designer.cs

?????文件???????5814??2009-08-24?12:29??comm1\comm1\comm1\AddOrDelGroup.resx

?????文件???????1013??2009-08-27?09:57??comm1\comm1\comm1\app.config

?????文件???????5632??2009-08-22?10:04??comm1\comm1\comm1\bin\Debug\AuthencationCode.dll

?????文件??????13824??2009-08-22?10:04??comm1\comm1\comm1\bin\Debug\AuthencationCode.pdb

?????文件??????53248??2009-08-27?21:45??comm1\comm1\comm1\bin\Debug\comm1.exe

?????文件???????1013??2009-08-27?09:57??comm1\comm1\comm1\bin\Debug\comm1.exe.config

?????文件??????85504??2009-08-27?21:45??comm1\comm1\comm1\bin\Debug\comm1.pdb

?????文件??????14328??2009-08-27?21:46??comm1\comm1\comm1\bin\Debug\comm1.vshost.exe

?????文件???????1013??2009-08-27?09:57??comm1\comm1\comm1\bin\Debug\comm1.vshost.exe.config

?????文件????????490??2007-07-21?01:33??comm1\comm1\comm1\bin\Debug\comm1.vshost.exe.manifest

?????文件???????2488??2009-08-27?23:43??comm1\comm1\comm1\Chat.cs

?????文件???????3736??2009-08-27?21:35??comm1\comm1\comm1\Chat.Designer.cs

?????文件???????5814??2009-08-27?21:35??comm1\comm1\comm1\Chat.resx

?????文件???????7150??2009-08-27?11:48??comm1\comm1\comm1\comm1.csproj

?????文件???????1311??2009-08-26?19:09??comm1\comm1\comm1\Detail.cs

?????文件???????9146??2009-08-26?18:50??comm1\comm1\comm1\Detail.Designer.cs

?????文件???????5814??2009-08-26?18:50??comm1\comm1\comm1\Detail.resx

?????文件???????5405??2009-08-27?23:43??comm1\comm1\comm1\Form1.cs

?????文件???????7531??2009-08-22?09:57??comm1\comm1\comm1\Form1.Designer.cs

?????文件???????7846??2009-08-22?09:57??comm1\comm1\comm1\Form1.resx

?????文件??????15989??2009-08-27?12:13??comm1\comm1\comm1\Main.cs

?????文件???????9580??2009-08-26?14:46??comm1\comm1\comm1\Main.Designer.cs

?????文件???????6019??2009-08-26?14:46??comm1\comm1\comm1\Main.resx

?????文件????????180??2009-08-27?12:11??comm1\comm1\comm1\obj\Debug\comm1.AddOrDelGroup.resources

?????文件????????180??2009-08-27?21:35??comm1\comm1\comm1\obj\Debug\comm1.Chat.resources

?????文件???????1749??2009-08-27?21:46??comm1\comm1\comm1\obj\Debug\comm1.csproj.FileListAbsolute.txt

?????文件???????1528??2009-08-27?21:35??comm1\comm1\comm1\obj\Debug\comm1.csproj.GenerateResource.Cache

?????文件????????180??2009-08-27?12:11??comm1\comm1\comm1\obj\Debug\comm1.Detail.resources

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

評論

共有 條評論