<?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: Can the &amp;quot;Select Color Dialog Box&amp;quot; be used in C sharp? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/can-the-quot-select-color-dialog-box-quot-be-used-in-c-sharp/m-p/8078544#M25550</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;PRE&gt;        Autodesk.AutoCAD.Windows.ColorDialog clrDlg = new Autodesk.AutoCAD.Windows.ColorDialog();
        System.Windows.Forms.DialogResult dr = clrDlg.ShowDialog();
        if( dr == System.Windows.Forms.DialogResult.OK )
        {          
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; Autodesk.AutoCAD.Colors.Color clr = clrDlg.Color;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; if( clr.IsByAci )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;short colorIndex = clr.ColorIndex;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; }
        }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jun 2018 18:55:42 GMT</pubDate>
    <dc:creator>fsztuczny</dc:creator>
    <dc:date>2018-06-19T18:55:42Z</dc:date>
    <item>
      <title>Can the "Select Color Dialog Box" be used in C sharp?</title>
      <link>https://forums.autodesk.com/t5/net-forum/can-the-quot-select-color-dialog-box-quot-be-used-in-c-sharp/m-p/8078506#M25549</link>
      <description>&lt;P&gt;Is it possable to call up the Select Color Dialog Box with c sharp and assign a selected color&lt;/P&gt;&lt;P&gt;index number to variable for use in c sharp code?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 18:40:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/can-the-quot-select-color-dialog-box-quot-be-used-in-c-sharp/m-p/8078506#M25549</guid>
      <dc:creator>muckmailer</dc:creator>
      <dc:date>2018-06-19T18:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can the "Select Color Dialog Box" be used in C sharp?</title>
      <link>https://forums.autodesk.com/t5/net-forum/can-the-quot-select-color-dialog-box-quot-be-used-in-c-sharp/m-p/8078544#M25550</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;PRE&gt;        Autodesk.AutoCAD.Windows.ColorDialog clrDlg = new Autodesk.AutoCAD.Windows.ColorDialog();
        System.Windows.Forms.DialogResult dr = clrDlg.ShowDialog();
        if( dr == System.Windows.Forms.DialogResult.OK )
        {          
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; Autodesk.AutoCAD.Colors.Color clr = clrDlg.Color;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; if( clr.IsByAci )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;short colorIndex = clr.ColorIndex;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; }
        }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 18:55:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/can-the-quot-select-color-dialog-box-quot-be-used-in-c-sharp/m-p/8078544#M25550</guid>
      <dc:creator>fsztuczny</dc:creator>
      <dc:date>2018-06-19T18:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can the "Select Color Dialog Box" be used in C sharp?</title>
      <link>https://forums.autodesk.com/t5/net-forum/can-the-quot-select-color-dialog-box-quot-be-used-in-c-sharp/m-p/8080576#M25551</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Thank you,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;I also found a good link on this topic at &lt;A href="http://www.keanw.com/2008/02/using-standard.html?cid=102138552" target="_blank"&gt;http://www.keanw.com/2008/02/using-standard.html?cid=102138552&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 15:49:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/can-the-quot-select-color-dialog-box-quot-be-used-in-c-sharp/m-p/8080576#M25551</guid>
      <dc:creator>muckmailer</dc:creator>
      <dc:date>2018-06-20T15:49:57Z</dc:date>
    </item>
  </channel>
</rss>

