Exemplo n.º 1
0
 public Form1(TcpClient client, NetworkStream stream, Login login, string dir)
 {
     InitializeComponent();
     this.FormBorderStyle = FormBorderStyle.FixedSingle;
     this.Client = client;
     this.stream = stream;
     this.login = login;
     this.dir = dir;
     clients = new List<Client>();
     connection = new Connection(this);
     thread = new Thread(() => connection.Run());
     thread.Start();
     KeyPreview = true;
 }
Exemplo n.º 2
0
        private Login()
        {
            logfrm = null;

            InitializeComponent();
        }
Exemplo n.º 3
0
 private void editMenu_Click(object sender, EventArgs e)
 {
     Login lo = new Login();
     lo.Show();
 }