You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-17 15:46:33 +09:00
File stream sample added
This commit is contained in:
26
Samples/File stream sample/FileStreamClient/Form1.cs
Normal file
26
Samples/File stream sample/FileStreamClient/Form1.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
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 FileStreamClient
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
progressBar1.Minimum = 0;
|
||||
progressBar1.Maximum = 100;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
Program.Connect(textBox1.Text, Int32.Parse(textBox2.Text));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user