Mercurial > pub > pallada-chat
changeset 1:10fe7535d211 default tip
Удалил закомментированные строчки.
author | kareem95 |
---|---|
date | Wed, 22 Jun 2016 18:43:12 +0300 |
parents | 753a5f6e1eba |
children | |
files | PalladaChat/.vs/PalladaChat/v14/.suo PalladaChat/PalladaChat/MainWindow.xaml.cs |
diffstat | 2 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/PalladaChat/PalladaChat/MainWindow.xaml.cs Tue Jun 21 19:05:42 2016 +0300 +++ b/PalladaChat/PalladaChat/MainWindow.xaml.cs Wed Jun 22 18:43:12 2016 +0300 @@ -22,9 +22,7 @@ namespace PalladaChat { - /// <summary> - /// Логика взаимодействия для MainWindow.xaml - /// </summary> + public partial class MainWindow : Window { private readonly IConnection m_connection; @@ -61,10 +59,7 @@ { var xmldoc = XDocument.Load(reader); - //var nick = xmldoc.Root.Elements().Where(el => el.Name == "Nickname").Select(el => el.Value).FirstOrDefault(); - //var nick2 = (from el in xmldoc.Root.Elements() - // where el.Name == "Nickname" - // select el.Value).FirstOrDefault(); + var msgs = from el in xmldoc.Elements() select new