<?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: Windows Forms - Best Practice Question in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/windows-forms-best-practice-question/m-p/488258#M13167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Define "better" and "best" please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have a process that requires 5 user input forms, but you only created three? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the user access each of these forms in sequence: 1, 2, 3, 4, 5?&amp;nbsp; No skipping straight to form 3?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do the subsequent forms rely on data entered in the previous forms?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Personally, and solely my opinion, a user form should bind to an object (class) that represents the data, then you will know the lifetime of the object and whether you've created it once already.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Mar 2013 03:05:04 GMT</pubDate>
    <dc:creator>LeoDonahue</dc:creator>
    <dc:date>2013-03-23T03:05:04Z</dc:date>
    <item>
      <title>Windows Forms - Best Practice Question</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/windows-forms-best-practice-question/m-p/488257#M13166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously this isn't going to be a 100% agreed upon answer, but I'm curious what others think about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it "best" or "better" practice to have a new form (literally a form complete with elements etc...) for each new instance of needing a form, or is it better to re-use an existing form by re-arranging/altering values of the elements, within the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any opinions are welcome, I'm mainly just curious.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, a particular Add-In we have has 3 actual forms in Visual Studio, but the user has to go through 5 forms for varying steps of the process (the forms are simply re-used, labels changed, etc...).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 20:39:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/windows-forms-best-practice-question/m-p/488257#M13166</guid>
      <dc:creator>deleted-user-VeC5jUIlNXtq</dc:creator>
      <dc:date>2013-03-22T20:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Forms - Best Practice Question</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/windows-forms-best-practice-question/m-p/488258#M13167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Define "better" and "best" please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have a process that requires 5 user input forms, but you only created three? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the user access each of these forms in sequence: 1, 2, 3, 4, 5?&amp;nbsp; No skipping straight to form 3?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do the subsequent forms rely on data entered in the previous forms?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Personally, and solely my opinion, a user form should bind to an object (class) that represents the data, then you will know the lifetime of the object and whether you've created it once already.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 03:05:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/windows-forms-best-practice-question/m-p/488258#M13167</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-03-23T03:05:04Z</dc:date>
    </item>
  </channel>
</rss>

