<?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 SOLVED Re: Arcobjects Arcmap add in repaint windows form in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-arcmap-add-in-repaint-windows-form/m-p/136047#M3528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was creating a second instance of the first form and changing the label text on it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 21:02:09 GMT</pubDate>
    <dc:creator>matthewandreatta</dc:creator>
    <dc:date>2011-11-17T21:02:09Z</dc:date>
    <item>
      <title>Arcobjects Arcmap add in repaint windows form</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-arcmap-add-in-repaint-windows-form/m-p/136046#M3527</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;I'm developing a an arcmap addin.&amp;nbsp; Press a button on the arcmap gui and display a windows&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;form (not a dockable window).&amp;nbsp; The user press a button on the form to display a second windows form.&amp;nbsp; This all works as expected.&amp;nbsp; The user then does something on the second form which should&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;change some label text on the original form.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The label text is not changing on the fist form.&amp;nbsp; I can msgbox the label text and it is correct but the new text is not displayed.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone point out how to repaint, refresh the original form.&amp;nbsp; It just happens in a windows application, but is there something different with an add in?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Arcmap version 10 visual studio 2010.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is code on the second form that changes the label text on the first form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim frmmain As frm_main = New frm_main() ' fisrt form&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;frmmain.lbl_conn_status.Text = "CONNECTED UAT"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;frmmain.lbl_conn_status.BackColor = Drawing.Color.Green&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 19:45:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-arcmap-add-in-repaint-windows-form/m-p/136046#M3527</guid>
      <dc:creator>matthewandreatta</dc:creator>
      <dc:date>2011-11-17T19:45:05Z</dc:date>
    </item>
    <item>
      <title>SOLVED Re: Arcobjects Arcmap add in repaint windows form</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-arcmap-add-in-repaint-windows-form/m-p/136047#M3528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was creating a second instance of the first form and changing the label text on it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 21:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-arcmap-add-in-repaint-windows-form/m-p/136047#M3528</guid>
      <dc:creator>matthewandreatta</dc:creator>
      <dc:date>2011-11-17T21:02:09Z</dc:date>
    </item>
  </channel>
</rss>

