<?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 general vb.net - custom controls or other ways of handling similar data in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/general-vb-net-custom-controls-or-other-ways-of-handling-similar/m-p/3560284#M54164</link>
    <description>&lt;P&gt;I'm developing a routine that uses a windows form to gather data from the user. For a lot of this I need info for the Left side &amp;amp; the Right side. I have pretty much finished writing the code to take care of the Right side. I have 40 properties now all with "Right" in their names in anticipation of needing corresponding "Left" ones. I have numerous textboxes, checkboxes, &amp;amp; radiobottons on the form along with various input validation methods used to set these 40 properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could just copy all of this code &amp;amp; replace "Right" with "Left", but there are about 500 lines of code (hard to tell since I use a lot of white space), and that seems rather inefficient, especially if something needs to change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm starting to think that maybe I should develop this into one custom control that could be used for botth sides. This would be new territory for me, so I was wondering if anyone had any insight on this or alternative ways of dealing 40 right properties &amp;amp; 40 left properties and all that goes behind making those properties work.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jul 2012 22:21:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-07-31T22:21:07Z</dc:date>
    <item>
      <title>general vb.net - custom controls or other ways of handling similar data</title>
      <link>https://forums.autodesk.com/t5/net-forum/general-vb-net-custom-controls-or-other-ways-of-handling-similar/m-p/3560284#M54164</link>
      <description>&lt;P&gt;I'm developing a routine that uses a windows form to gather data from the user. For a lot of this I need info for the Left side &amp;amp; the Right side. I have pretty much finished writing the code to take care of the Right side. I have 40 properties now all with "Right" in their names in anticipation of needing corresponding "Left" ones. I have numerous textboxes, checkboxes, &amp;amp; radiobottons on the form along with various input validation methods used to set these 40 properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could just copy all of this code &amp;amp; replace "Right" with "Left", but there are about 500 lines of code (hard to tell since I use a lot of white space), and that seems rather inefficient, especially if something needs to change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm starting to think that maybe I should develop this into one custom control that could be used for botth sides. This would be new territory for me, so I was wondering if anyone had any insight on this or alternative ways of dealing 40 right properties &amp;amp; 40 left properties and all that goes behind making those properties work.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2012 22:21:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/general-vb-net-custom-controls-or-other-ways-of-handling-similar/m-p/3560284#M54164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-31T22:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: general vb.net - custom controls or other ways of handling similar data</title>
      <link>https://forums.autodesk.com/t5/net-forum/general-vb-net-custom-controls-or-other-ways-of-handling-similar/m-p/3560458#M54165</link>
      <description>&lt;P&gt;Have you considered using a PropertyGrid ?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2012 03:03:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/general-vb-net-custom-controls-or-other-ways-of-handling-similar/m-p/3560458#M54165</guid>
      <dc:creator>DiningPhilosopher</dc:creator>
      <dc:date>2012-08-01T03:03:45Z</dc:date>
    </item>
  </channel>
</rss>

