<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Programming tutorials</title>
	<atom:link href="http://programming-pages.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://programming-pages.com</link>
	<description>Notes on programming</description>
	<lastBuildDate>Mon, 29 Apr 2013 14:46:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on ANTLR with C# &#8211; a simple grammar by Selamet Hariadi</title>
		<link>http://programming-pages.com/2012/06/28/antlr-with-c-a-simple-grammar/#comment-406</link>
		<dc:creator><![CDATA[Selamet Hariadi]]></dc:creator>
		<pubDate>Mon, 29 Apr 2013 14:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://programming-pages.com/?p=382#comment-406</guid>
		<description><![CDATA[how to show all error with input java.g ?]]></description>
		<content:encoded><![CDATA[<p>how to show all error with input java.g ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dragging shapes with the mouse in WPF by abvw91</title>
		<link>http://programming-pages.com/2012/01/22/dragging-shapes-with-the-mouse-in-wpf/#comment-400</link>
		<dc:creator><![CDATA[abvw91]]></dc:creator>
		<pubDate>Mon, 15 Apr 2013 10:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://programming-pages.com/?p=132#comment-400</guid>
		<description><![CDATA[OH,
 
I find a way to do that, after trying something simple :D !!!

//NEW SHAPE
Ellipse place = new Ellipse();

// SET EVENTS TO CREATED SHAPE
place.MouseLeftButtonDown += shape_MouseLeftButtonDown;
place.MouseMove += shape_MouseMove;
place.MouseLeftButtonUp += shape_MouseLeftButtonUp;

THANK YOU !]]></description>
		<content:encoded><![CDATA[<p>OH,</p>
<p>I find a way to do that, after trying something simple <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  !!!</p>
<p>//NEW SHAPE<br />
Ellipse place = new Ellipse();</p>
<p>// SET EVENTS TO CREATED SHAPE<br />
place.MouseLeftButtonDown += shape_MouseLeftButtonDown;<br />
place.MouseMove += shape_MouseMove;<br />
place.MouseLeftButtonUp += shape_MouseLeftButtonUp;</p>
<p>THANK YOU !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dragging shapes with the mouse in WPF by abvw91</title>
		<link>http://programming-pages.com/2012/01/22/dragging-shapes-with-the-mouse-in-wpf/#comment-399</link>
		<dc:creator><![CDATA[abvw91]]></dc:creator>
		<pubDate>Mon, 15 Apr 2013 09:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://programming-pages.com/?p=132#comment-399</guid>
		<description><![CDATA[GREAT THANKS MAN ! Awesome for an newbie ;) .
I&#039;d like to ask you, in my case i create shapes using code behind, so i haven&#039;t xaml code of these shapes, how can i attribute events to my shapes ? THANK YOU :).]]></description>
		<content:encoded><![CDATA[<p>GREAT THANKS MAN ! Awesome for an newbie <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .<br />
I&#8217;d like to ask you, in my case i create shapes using code behind, so i haven&#8217;t xaml code of these shapes, how can i attribute events to my shapes ? THANK YOU <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DataGridTemplateColumn for the WPF DataGrid by Dhaval Mehta</title>
		<link>http://programming-pages.com/2012/04/23/datagridtemplatecolumn-for-the-wpf-datagrid/#comment-380</link>
		<dc:creator><![CDATA[Dhaval Mehta]]></dc:creator>
		<pubDate>Fri, 08 Feb 2013 18:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://programming-pages.com/?p=309#comment-380</guid>
		<description><![CDATA[Very informative. I am trying accomplish combobox in DataGridTemplateColumn. I am display the data on GUI. But after selection, On click of save, not able to read data via c# code. Please note that my code is generating GUI at runtime and read data from it at runtime. here is the method. 

private DataGridTemplateColumn AddDataGridComboBoxColumn(XmlNodeList _childnodeList, string header, DataTable table,  List data = null)
        {
            var comboTemplate = new FrameworkElementFactory(typeof(ComboBox));
            List items = new List();
            for (int count = 0; count &lt; _childnodeList.Count; count++)
            {
                items.Add(_childnodeList.Item(count).InnerText.ToString());
            }
            comboTemplate.SetValue(ComboBox.ItemsSourceProperty, items);
            comboTemplate.SetValue(ComboBox.SelectedItemProperty, items);
            DataGridTemplateColumn column = new DataGridTemplateColumn()
            {
                Header = header,
                CellTemplate = new DataTemplate() { VisualTree = comboTemplate },
                CellEditingTemplate = new DataTemplate() { VisualTree = comboTemplate }
            };
            
            DataColumn dtcolumn = new DataColumn();
            dtcolumn.Caption = header;
            dtcolumn.ColumnName = header;
            dtcolumn.DataType = typeof(ComboBox);
            table.Columns.Add(dtcolumn);
            //row[header] = items;
            return column;
        }

Please let me know what i am missing here. My data row always comes with count 0 without any data. 

for (int j1 = 0; j1 &lt; VisualTreeHelper.GetChildrenCount(item); j1++)
                                    {
                                        DependencyObject gridchild_child = VisualTreeHelper.GetChild(item, j1);
                                        DataGrid data = (DataGrid) ((TabItem)gridchild_child).Content;
                                        DataView table = (DataView)data.ItemsSource;

Any will be appreciated...]]></description>
		<content:encoded><![CDATA[<p>Very informative. I am trying accomplish combobox in DataGridTemplateColumn. I am display the data on GUI. But after selection, On click of save, not able to read data via c# code. Please note that my code is generating GUI at runtime and read data from it at runtime. here is the method. </p>
<p>private DataGridTemplateColumn AddDataGridComboBoxColumn(XmlNodeList _childnodeList, string header, DataTable table,  List data = null)<br />
        {<br />
            var comboTemplate = new FrameworkElementFactory(typeof(ComboBox));<br />
            List items = new List();<br />
            for (int count = 0; count &lt; _childnodeList.Count; count++)<br />
            {<br />
                items.Add(_childnodeList.Item(count).InnerText.ToString());<br />
            }<br />
            comboTemplate.SetValue(ComboBox.ItemsSourceProperty, items);<br />
            comboTemplate.SetValue(ComboBox.SelectedItemProperty, items);<br />
            DataGridTemplateColumn column = new DataGridTemplateColumn()<br />
            {<br />
                Header = header,<br />
                CellTemplate = new DataTemplate() { VisualTree = comboTemplate },<br />
                CellEditingTemplate = new DataTemplate() { VisualTree = comboTemplate }<br />
            };</p>
<p>            DataColumn dtcolumn = new DataColumn();<br />
            dtcolumn.Caption = header;<br />
            dtcolumn.ColumnName = header;<br />
            dtcolumn.DataType = typeof(ComboBox);<br />
            table.Columns.Add(dtcolumn);<br />
            //row[header] = items;<br />
            return column;<br />
        }</p>
<p>Please let me know what i am missing here. My data row always comes with count 0 without any data. </p>
<p>for (int j1 = 0; j1 &lt; VisualTreeHelper.GetChildrenCount(item); j1++)<br />
                                    {<br />
                                        DependencyObject gridchild_child = VisualTreeHelper.GetChild(item, j1);<br />
                                        DataGrid data = (DataGrid) ((TabItem)gridchild_child).Content;<br />
                                        DataView table = (DataView)data.ItemsSource;</p>
<p>Any will be appreciated&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DataGrids in WPF by growescience</title>
		<link>http://programming-pages.com/2012/04/13/datagrids-in-wpf/#comment-379</link>
		<dc:creator><![CDATA[growescience]]></dc:creator>
		<pubDate>Fri, 08 Feb 2013 14:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://programming-pages.com/?p=284#comment-379</guid>
		<description><![CDATA[It&#039;s an instance of the DatabaseTable class defined in the previous post (see link to previous post at the start of this one).]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s an instance of the DatabaseTable class defined in the previous post (see link to previous post at the start of this one).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DataGrids in WPF by John Martin</title>
		<link>http://programming-pages.com/2012/04/13/datagrids-in-wpf/#comment-378</link>
		<dc:creator><![CDATA[John Martin]]></dc:creator>
		<pubDate>Thu, 07 Feb 2013 21:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://programming-pages.com/?p=284#comment-378</guid>
		<description><![CDATA[I may have missed it... can you tell me where the instance of DatabaseTable called &quot;databaseTable&quot; used in line 09 of the &quot;private void booksTitlesComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)&quot; function gets created?  Thanks.]]></description>
		<content:encoded><![CDATA[<p>I may have missed it&#8230; can you tell me where the instance of DatabaseTable called &#8220;databaseTable&#8221; used in line 09 of the &#8220;private void booksTitlesComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)&#8221; function gets created?  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Prototypes in JavaScript by Inheritance in JavaScript &#171; Programming tutorials</title>
		<link>http://programming-pages.com/2012/11/19/prototypes-in-javascript/#comment-321</link>
		<dc:creator><![CDATA[Inheritance in JavaScript &#171; Programming tutorials]]></dc:creator>
		<pubDate>Sat, 24 Nov 2012 15:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://programming-pages.com/?p=499#comment-321</guid>
		<description><![CDATA[[...] prototype is defined as &#8216;new this&#8217;, which means it gets a copy of X. Remember that the prototype of a constructor is what&#8217;s the __proto__ of an object created from that constructor points to, so new objects [...]]]></description>
		<content:encoded><![CDATA[<p>[...] prototype is defined as &#8216;new this&#8217;, which means it gets a copy of X. Remember that the prototype of a constructor is what&#8217;s the __proto__ of an object created from that constructor points to, so new objects [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Closure and classes in JavaScript by Inheritance in JavaScript &#171; Programming tutorials</title>
		<link>http://programming-pages.com/2012/11/22/closure-and-classes-in-javascript/#comment-320</link>
		<dc:creator><![CDATA[Inheritance in JavaScript &#171; Programming tutorials]]></dc:creator>
		<pubDate>Sat, 24 Nov 2012 14:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://programming-pages.com/?p=511#comment-320</guid>
		<description><![CDATA[[...] the last post, we saw how to implement class-like objects in JavaScript, despite the language&#8217;s lack of actual class data types. The solution used [...]]]></description>
		<content:encoded><![CDATA[<p>[...] the last post, we saw how to implement class-like objects in JavaScript, despite the language&#8217;s lack of actual class data types. The solution used [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Prototypes in JavaScript by Closure and classes in JavaScript &#171; Programming tutorials</title>
		<link>http://programming-pages.com/2012/11/19/prototypes-in-javascript/#comment-315</link>
		<dc:creator><![CDATA[Closure and classes in JavaScript &#171; Programming tutorials]]></dc:creator>
		<pubDate>Thu, 22 Nov 2012 18:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://programming-pages.com/?p=499#comment-315</guid>
		<description><![CDATA[[...] should see entries for the 4 functions and also the ubiquitous __proto__ object we&#8217;ve discussed earlier, but there&#8217;s no sign of &#8216;balance&#8217; or [...]]]></description>
		<content:encoded><![CDATA[<p>[...] should see entries for the 4 functions and also the ubiquitous __proto__ object we&#8217;ve discussed earlier, but there&#8217;s no sign of &#8216;balance&#8217; or [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JavaScript objects by Closure and classes in JavaScript &#171; Programming tutorials</title>
		<link>http://programming-pages.com/2012/10/22/javascript-objects/#comment-314</link>
		<dc:creator><![CDATA[Closure and classes in JavaScript &#171; Programming tutorials]]></dc:creator>
		<pubDate>Thu, 22 Nov 2012 18:14:01 +0000</pubDate>
		<guid isPermaLink="false">http://programming-pages.com/?p=465#comment-314</guid>
		<description><![CDATA[[...] we wanted to create a number of bank account objects. One way of doing this is to use a constructor function as we&#8217;ve done earlier. We might write something like [...]]]></description>
		<content:encoded><![CDATA[<p>[...] we wanted to create a number of bank account objects. One way of doing this is to use a constructor function as we&#8217;ve done earlier. We might write something like [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
