Example #1
0
        private void RecievedFileTable(object sender, ReceivedMessageEventArgs e)
        {
            bool answer = Program.main.AskForAvailableFiles(GetUserByIP(e.ip).Nickname, e.ip);

            if (answer == true)
            {
                var fileTable = new Gui.FileFilesAvailable();
                fileTable.LoadFiles((List <string>)e.options, e.ip);
                fileTable.ShowDialog();
            }
        }
Example #2
0
 private void RecievedFileTable(object sender, ReceivedMessageEventArgs e)
 {
     bool answer = Program.main.AskForAvailableFiles(GetUserByIP(e.ip).Nickname, e.ip);
     if (answer == true)
     {
         var fileTable = new Gui.FileFilesAvailable();
         fileTable.LoadFiles((List<string>)e.options, e.ip);
         fileTable.ShowDialog();
     }
 }