Example #1
0
        private void AddFileBtn_Click(object sender, EventArgs e)
        {
            if (openFileDialog1.ShowDialog() == DialogResult.Cancel)
            {
                return;
            }
            string path = openFileDialog1.FileName;

            currentClient.SendFile(path);
            MessageBox.Show(path);
        }