<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: WPF form - fill combobox with information from the main code in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/wpf-form-fill-combobox-with-information-from-the-main-code/m-p/6052141#M67403</link>
    <description>&lt;P&gt;Thanks Jeremy!&lt;/P&gt;&lt;P&gt;You are right! this is a general coding question.. I put it here because i am programming with Revit API!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyway the solution is that i was doing the for wrounly &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2016 11:34:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-23T11:34:46Z</dc:date>
    <item>
      <title>WPF form - fill combobox with information from the main code</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/wpf-form-fill-combobox-with-information-from-the-main-code/m-p/6052113#M67401</link>
      <description>&lt;P&gt;Hello Everybody!&lt;/P&gt;&lt;P&gt;I am starting to create some forms.&lt;/P&gt;&lt;P&gt;I would like to fill a combobox quth any information (see code below)&lt;/P&gt;&lt;PRE&gt;Window1 w = new Window1();
						
for (int i = 1; i==5; i++)
{
	string s = i.ToString();
	w.combobox1.Items.Add(s);
}

w.ShowDialog();

TaskDialog.Show("test","Selected number is " + w.combobox1.SelectedItem);&lt;/PRE&gt;&lt;P&gt;the combobox shoul receive a lis of numbers from 1 to 5, buy I do not why it is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance and sorry if my question is stupid&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 11:03:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/wpf-form-fill-combobox-with-information-from-the-main-code/m-p/6052113#M67401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-23T11:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: WPF form - fill combobox with information from the main code</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/wpf-form-fill-combobox-with-information-from-the-main-code/m-p/6052136#M67402</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Chema78,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are no stupid questions!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, though, this is the wrong place for it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please note that this discussion forum is dedicated to programming Revit using the Revit API.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Therefore, you cannot expect an answer to a question such as yours that has nothing to do with the Revit API here.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this clarifies.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your understanding.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 11:28:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/wpf-form-fill-combobox-with-information-from-the-main-code/m-p/6052136#M67402</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-02-23T11:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: WPF form - fill combobox with information from the main code</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/wpf-form-fill-combobox-with-information-from-the-main-code/m-p/6052141#M67403</link>
      <description>&lt;P&gt;Thanks Jeremy!&lt;/P&gt;&lt;P&gt;You are right! this is a general coding question.. I put it here because i am programming with Revit API!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyway the solution is that i was doing the for wrounly &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 11:34:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/wpf-form-fill-combobox-with-information-from-the-main-code/m-p/6052141#M67403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-23T11:34:46Z</dc:date>
    </item>
  </channel>
</rss>

