<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум компьютерной помощи &mdash; Программирование на C# для начинающих]]></title>
	<link rel="self" href="https://itpmr.ru/extern.php?action=feed&amp;tid=788&amp;type=atom" />
	<updated>2013-06-24T12:11:24Z</updated>
	<generator>PunBB</generator>
	<id>https://itpmr.ru/viewtopic.php?id=788</id>
		<entry>
			<title type="html"><![CDATA[Re: Программирование на C# для начинающих]]></title>
			<link rel="alternate" href="https://itpmr.ru/viewtopic.php?pid=123888#p123888" />
			<content type="html"><![CDATA[<p>Вот моя попытка получить содержимое странички веб сайта в листбокс:</p><p>using System;<br />using System.Collections.Generic;<br />using System.ComponentModel;<br />using System.Data;<br />using System.Drawing;<br />using System.Linq;<br />using System.Text;<br />using System.Windows.Forms;<br />using System.Net;<br />using System.Text;<br />using System.IO;</p><p>namespace F1<br />{<br />&nbsp; &nbsp; public partial class Form1 : Form<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; public Form1()<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; InitializeComponent();<br />&nbsp; &nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp; &nbsp; &nbsp; private void button1_Click(object sender, EventArgs e)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HttpWebRequest myHttpWebRequest = (HttpWebRequest)HttpWebRequest.Create(&quot;tv.pgtrk.ru&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HttpWebResponse myHttpWebResponse = (HttpWebResponse)myHttpWebRequest.GetResponse();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; StreamReader myStreamReader = new StreamReader(myHttpWebResponse.GetResponseStream(), Encoding.GetEncoding(0));<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; listBox1.Text = myStreamReader.ReadToEnd();<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }<br />}</p><p>При этом в myHttpWebResponse я не могу найти ответ сайта.</p>]]></content>
			<author>
				<name><![CDATA[admin]]></name>
				<uri>https://itpmr.ru/profile.php?id=2</uri>
			</author>
			<updated>2013-06-24T12:11:24Z</updated>
			<id>https://itpmr.ru/viewtopic.php?pid=123888#p123888</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Программирование на C# для начинающих]]></title>
			<link rel="alternate" href="https://itpmr.ru/viewtopic.php?pid=123887#p123887" />
			<content type="html"><![CDATA[<p>В этой теме я предлагаю делиться полезными советами для начинающих программистов на языке C#.</p><p>Запуск приложения - F6<br />Запуск дебагера (отладки) приложения - F5<br />Пошаговое выполнение программы - F11<br />Вызов окна переменных locals для отладчика - Debug / Windows / Locals</p>]]></content>
			<author>
				<name><![CDATA[admin]]></name>
				<uri>https://itpmr.ru/profile.php?id=2</uri>
			</author>
			<updated>2013-05-29T07:32:07Z</updated>
			<id>https://itpmr.ru/viewtopic.php?pid=123887#p123887</id>
		</entry>
</feed>
