• 大小: 1.39M
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 局域网  C#  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
using System.IO;
namespace class9_1_1Client
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            TcpClient tc = new TcpClient();
            tc.Connect(“127.0.0.1“ 5000);
            Stream s = tc.GetStream();
            StreamWriter sw = new StreamWriter(s);
            sw.WriteLine(“LOGIN|“ + textBox1.Text);
            sw.Flush();
            //sw.Close();
            Form2 frm = new Form2();
    

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-11-14 11:39  11.14C#\
     目录           0  2016-11-14 09:59  11.14C#\class9_1_1Client\
     目录           0  2016-11-14 10:47  11.14C#\class9_1_1Client\class9_1_1Client\
     文件         890  2016-11-01 11:26  11.14C#\class9_1_1Client\class9_1_1Client.sln
     文件       22016  2016-11-14 11:39  11.14C#\class9_1_1Client\class9_1_1Client.suo
     目录           0  2016-11-14 09:59  11.14C#\class9_1_1Client\class9_1_1Client\bin\
     目录           0  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\bin\Debug\
     文件       15360  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\bin\Debug\class9_1_1Client.exe
     文件       34304  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\bin\Debug\class9_1_1Client.pdb
     文件       11608  2016-11-14 10:40  11.14C#\class9_1_1Client\class9_1_1Client\bin\Debug\class9_1_1Client.vshost.exe
     文件         490  2010-03-17 22:39  11.14C#\class9_1_1Client\class9_1_1Client\bin\Debug\class9_1_1Client.vshost.exe.manifest
     文件        4047  2016-11-14 11:16  11.14C#\class9_1_1Client\class9_1_1Client\class9_1_1Client.csproj
     文件        1046  2016-11-07 10:28  11.14C#\class9_1_1Client\class9_1_1Client\Form1.cs
     文件        3108  2016-11-07 10:11  11.14C#\class9_1_1Client\class9_1_1Client\Form1.Designer.cs
     文件        5817  2016-11-07 10:11  11.14C#\class9_1_1Client\class9_1_1Client\Form1.resx
     文件        6169  2016-11-14 11:21  11.14C#\class9_1_1Client\class9_1_1Client\Form2.cs
     文件        4407  2016-11-07 11:23  11.14C#\class9_1_1Client\class9_1_1Client\Form2.Designer.cs
     文件        5817  2016-11-07 11:23  11.14C#\class9_1_1Client\class9_1_1Client\Form2.resx
     文件        1501  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\Form3.cs
     文件        3143  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\Form3.Designer.cs
     文件        5817  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\Form3.resx
     目录           0  2016-11-14 09:59  11.14C#\class9_1_1Client\class9_1_1Client\obj\
     目录           0  2016-11-14 09:59  11.14C#\class9_1_1Client\class9_1_1Client\obj\x86\
     目录           0  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\obj\x86\Debug\
     文件        2210  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\obj\x86\Debug\class9_1_1Client.csproj.FileListAbsolute.txt
     文件       15360  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\obj\x86\Debug\class9_1_1Client.exe
     文件         180  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\obj\x86\Debug\class9_1_1Client.Form1.resources
     文件         180  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\obj\x86\Debug\class9_1_1Client.Form2.resources
     文件         180  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\obj\x86\Debug\class9_1_1Client.Form3.resources
     文件       34304  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\obj\x86\Debug\class9_1_1Client.pdb
     文件         180  2016-11-14 11:34  11.14C#\class9_1_1Client\class9_1_1Client\obj\x86\Debug\class9_1_1Client.Properties.Resources.resources
............此处省略34个文件信息

评论

共有 条评论