<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788682</guid>
        <pubDate>Thu, 24 Jan 2019 19:16:24 +0000</pubDate>
        <title>Не считывает данные textBox из другой формы</title>
        <link>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788682</link>
        <description><![CDATA[MIF: Удали код,неотносящийся к проблеме. Загрузи проект сюда.]]></description>
        <author>MIF</author>
        <category>.NET: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788645</guid>
        <pubDate>Thu, 24 Jan 2019 11:06:44 +0000</pubDate>
        <title>Не считывает данные textBox из другой формы</title>
        <link>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788645</link>
        <description><![CDATA[Romie: <strong class='tag-b'>MIF</strong>, даже если оставить видимой - все равно не считывает...]]></description>
        <author>Romie</author>
        <category>.NET: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788608</guid>
        <pubDate>Wed, 23 Jan 2019 20:52:07 +0000</pubDate>
        <title>Не считывает данные textBox из другой формы</title>
        <link>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788608</link>
        <description><![CDATA[MIF: Пользовательзаполняет поле в другом экземпляре формы. Avt формва не видна.]]></description>
        <author>MIF</author>
        <category>.NET: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788584</guid>
        <pubDate>Wed, 23 Jan 2019 12:57:36 +0000</pubDate>
        <title>Не считывает данные textBox из другой формы</title>
        <link>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788584</link>
        <description><![CDATA[The Night: <strong class='tag-b'>MIF</strong>, <br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>А кто заполняет textBox1?</div></div><br>
Пользователь]]></description>
        <author>The Night</author>
        <category>.NET: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788525</guid>
        <pubDate>Wed, 23 Jan 2019 07:28:59 +0000</pubDate>
        <title>Не считывает данные textBox из другой формы</title>
        <link>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788525</link>
        <description><![CDATA[MIF: А кто/что заполняет textBox1?]]></description>
        <author>MIF</author>
        <category>.NET: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788506</guid>
        <pubDate>Tue, 22 Jan 2019 19:16:14 +0000</pubDate>
        <title>Не считывает данные textBox из другой формы</title>
        <link>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788506</link>
        <description><![CDATA[The Night: ап]]></description>
        <author>The Night</author>
        <category>.NET: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788441</guid>
        <pubDate>Mon, 21 Jan 2019 17:44:43 +0000</pubDate>
        <title>Не считывает данные textBox из другой формы</title>
        <link>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788441</link>
        <description><![CDATA[The Night: <strong class='tag-b'>MIF</strong>, в avt весь код такой:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">namespace WindowsFormsApplication1</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp; &nbsp;public partial class avt : Form</div><div class="code_line">&nbsp;&nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;public string s;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;public avt()</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;InitializeComponent();</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;private void button1_Click(object sender, EventArgs e)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;s = textBox1.Text.ToString();</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Close();</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp;}</div><div class="code_line">}</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script>]]></description>
        <author>The Night</author>
        <category>.NET: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788396</guid>
        <pubDate>Mon, 21 Jan 2019 07:07:03 +0000</pubDate>
        <title>Не считывает данные textBox из другой формы</title>
        <link>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788396</link>
        <description><![CDATA[MIF: Приведенного кода недостаточно.<br>Нужен код в avt форме.]]></description>
        <author>MIF</author>
        <category>.NET: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788327</guid>
        <pubDate>Sun, 20 Jan 2019 13:08:45 +0000</pubDate>
        <title>Не считывает данные textBox из другой формы</title>
        <link>https://forum.sources.ru/index.php?showtopic=414081&amp;view=findpost&amp;p=3788327</link>
        <description><![CDATA[The Night: Добрый день. Ошибок нет, только вот не читает textBox-ы...<br>
В одной форме (авторизация):<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">public string s;</div><div class="code_line">...</div><div class="code_line">s = textBox1.Text.ToString();</div><div class="code_line">Close();</div></ol></div></div></div></div><br>
<br>
В другой (сам тест):<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">...</div><div class="code_line">avt form = new avt();</div><div class="code_line">MessageBox.Show(&quot;Правильных ответов: &quot; + yes + &quot;\n Неправильных ответов: &quot; + no, &quot;Результаты теста&quot;, MessageBoxButtons.OK, MessageBoxIcon.Asterisk);</div><div class="code_line">StreamWriter textFile = new StreamWriter(&quot;result\&quot; + form.textBox1.Text + &quot;.txt&quot;); //один вариант - form.textBox1.Text, напрямую</div><div class="code_line">textFile.WriteLine(&quot;ФИО: {0}&quot;, form.s); &nbsp; // 2 вариант - через переменную &nbsp; </div><div class="code_line">textFile.WriteLine(&quot;Тест №1 \&quot;Название теста\&quot;&quot;);</div><div class="code_line">textFile.WriteLine(&quot;Правильных ответов: {0}&quot;, yes);</div><div class="code_line">textFile.WriteLine(&quot;Неправильных ответов: {0}&quot;, no);</div><div class="code_line">textFile.Close(); </div><div class="code_line">...</div></ol></div></div></div></div><br>
<br>
Файл создается и сохраняется, но без названия, просто .txt, и в ФИО тоже ничего нет.<br>
Я перепробовала все, пожалуйста помогите...]]></description>
        <author>The Night</author>
        <category>.NET: Общие вопросы</category>
      </item>
	
      </channel>
      </rss>
	