<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Entries for asqui</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/niners/asqui/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Entries for asqui</title><link>http://channel9.msdn.com/Niners/asqui/</link></image><description>Entries, comments and threads posted by asqui</description><link>http://channel9.msdn.com/Niners/asqui/</link><language>en-us</language><pubDate>Mon, 11 Jul 2005 16:27:24 GMT</pubDate><lastBuildDate>Mon, 11 Jul 2005 16:27:24 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3608.3122, Culture=neutral, PublicKeyToken=null)</generator><item><title>Incrementing Font sizes [Incrementing Font sizes]</title><description>So it seems that System.Drawing.Font is immutable. What is a nice way to increment the font size of a given control?&lt;BR&gt;&lt;BR&gt;You can initialise a new Font object from an existing one and specify a different FontStyle for the new object, but that's all. And there are no methods that return a new font object with one of the properties updated to a new value. (eg. myFont.NewSize(10) returns a handy copy of myFont with the size changed to 10)&lt;BR&gt;&lt;BR&gt;What am I missing? There must be some alternative to manually specifying all the properties...&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Thanks in advance,&lt;BR&gt;Dani&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/85093-Incrementing-Font-sizes/'&gt;Incrementing Font sizes&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/85093/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/85093-Incrementing-Font-sizes/</comments><link>http://channel9.msdn.com/forums/TechOff/85093-Incrementing-Font-sizes/</link><pubDate>Mon, 11 Jul 2005 16:27:24 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/85093-Incrementing-Font-sizes/</guid><evnet:views>2405</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/85093/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>So it seems that System.Drawing.Font is immutable. What is a nice way to increment the font size of a given control?&lt;BR&gt;&lt;BR&gt;You can initialise a new Font object from an existing one and specify a different FontStyle for the new object, but that's all. And there are no methods that return a new font object with one of the properties updated to a new value. (eg. myFont.NewSize(10) returns a handy copy of myFont with the size changed to 10)&lt;BR&gt;&lt;BR&gt;What am I missing? There must be some alternative to manually specifying all the properties...&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Thanks in advance,&lt;BR&gt;Dani</evnet:previewtext><dc:creator>asqui</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/85093-Incrementing-Font-sizes/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/85093/Trackback.aspx</trackback:ping></item><item><title>Code re-use in Visual C# .NET Projects [Code re-use in Visual C# .NET Projects]</title><description>&lt;P&gt;I am trying to re-use a generic database selection form between two projects by pulling the *.cs and *.resx files into another directory and then having both projects use those files.&lt;BR&gt;&lt;BR&gt;Unfortunately, having done this, I can't work out how to include this form in both&amp;nbsp;my projects.&lt;BR&gt;&lt;BR&gt;If I "Add &amp;gt; Existing Item..." to my project it simply copies the files into my project directory.&lt;BR&gt;&lt;BR&gt;I tried hacking&amp;nbsp;the *.csproj file as follows:&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;Before:&lt;/STRONG&gt;&lt;BR&gt;&amp;lt;File&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RelPath = "ServerSelectForm.cs"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubType = "Form"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BuildAction = "Compile"&lt;BR&gt;/&amp;gt;&lt;BR&gt;&amp;lt;File&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RelPath = "ServerSelectForm.resx"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DependentUpon = "ServerSelectForm.cs"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BuildAction = "EmbeddedResource"&lt;BR&gt;/&amp;gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;After:&lt;BR&gt;&lt;/STRONG&gt;&amp;lt;File&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RelPath = "..\_Common\DatabaseSelectorForm\DatabaseSelectorForm.cs"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubType = "Form"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BuildAction = "Compile"&lt;BR&gt;/&amp;gt;&lt;BR&gt;&amp;lt;File&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RelPath = "..\_Common\DatabaseSelectorForm\DatabaseSelectorForm.resx"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DependentUpon = "..\_Common\DatabaseSelectorForm\DatabaseSelectorForm.cs"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BuildAction = "EmbeddedResource"&lt;BR&gt;/&amp;gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;If I do that Visual Studio doesn't like that -- it ignores those entries, doesn't load the form, and, upon saving the project, simply strips them out of the new project file!&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;I strongly suspect that my whole approach to code re-use is a bit "vb6" -- could someone enlighten me to the 'proper' way to do this?&lt;BR&gt;&lt;BR&gt;(I was trying to avoid going all-out and compiling the form into a standalone DLL as I think that would be overkill.)&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Thanks in advance.&lt;/P&gt;&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/73267-Code-re-use-in-Visual-C-NET-Projects/'&gt;Code re-use in Visual C# .NET Projects&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/73267/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/73267-Code-re-use-in-Visual-C-NET-Projects/</comments><link>http://channel9.msdn.com/forums/TechOff/73267-Code-re-use-in-Visual-C-NET-Projects/</link><pubDate>Tue, 07 Jun 2005 15:08:03 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/73267-Code-re-use-in-Visual-C-NET-Projects/</guid><evnet:views>12664</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/73267/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>&lt;P&gt;I am trying to re-use a generic database selection form between two projects by pulling the *.cs and *.resx files into another directory and then having both projects use those files.&lt;BR&gt;&lt;BR&gt;Unfortunately, having done this, I can't work out how to include this form in both&amp;nbsp;my projects.&lt;BR&gt;&lt;BR&gt;If I "Add &amp;gt; Existing Item..." to my project it simply copies the files into my project directory.&lt;BR&gt;&lt;BR&gt;I tried hacking&amp;nbsp;the *.csproj file as follows:&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;Before:&lt;/STRONG&gt;&lt;BR&gt;&amp;lt;File&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RelPath = "ServerSelectForm.cs"&lt;BR&gt;</evnet:previewtext><dc:creator>asqui</dc:creator><slash:comments>7</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/73267-Code-re-use-in-Visual-C-NET-Projects/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/73267/Trackback.aspx</trackback:ping></item><item><title>Displaying changes to a DataSet in C# [Displaying changes to a DataSet in C#]</title><description>I have an app which allows the user to effectively free-edit a database table. In a seperate datagrid I am displaying the changes to this table before they are commited.&lt;BR&gt;&lt;BR&gt;Currently I am just binding the audit grid to a dataview on the underlying table, selecting Added, ModifiedCurrent, and Deleted row states. Unfortunately this is a bit unclear as it does not distinguish, to the user, the difference between updated and deleted rows. Furthermore, if you update a row it is added to this audit list; if you then delete that same row, nothing changes in the audit list, so you may be forgiven for mistakenly thinking that the program is just going to commit the updated value as opposed to actually delete the row.&lt;BR&gt;&lt;BR&gt;I think the correct way to do what I want would be to hook some events on the underlying datatable, and generate my own dataset with the audit information, including details about row deletion/update status.&lt;BR&gt;&lt;BR&gt;Would this be the correct way to tackle the problem? If so, how should I go about it?&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Thanks in advance.&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/34345-Displaying-changes-to-a-DataSet-in-C/'&gt;Displaying changes to a DataSet in C#&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/34345/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/34345-Displaying-changes-to-a-DataSet-in-C/</comments><link>http://channel9.msdn.com/forums/TechOff/34345-Displaying-changes-to-a-DataSet-in-C/</link><pubDate>Wed, 12 Jan 2005 17:28:04 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/34345-Displaying-changes-to-a-DataSet-in-C/</guid><evnet:views>7990</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/34345/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I have an app which allows the user to effectively free-edit a database table. In a seperate datagrid I am displaying the changes to this table before they are commited.Currently I am just binding the audit grid to a dataview on the underlying table, selecting Added, ModifiedCurrent, and Deleted row states. Unfortunately this is a bit unclear as it does not distinguish, to the user, the difference between updated and deleted rows. Furthermore, if you update a row it is added to this audit list; if you then delete that same row, nothing changes in the audit list, so you may be forgiven for&amp;#8230;</evnet:previewtext><dc:creator>asqui</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/34345-Displaying-changes-to-a-DataSet-in-C/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/34345/Trackback.aspx</trackback:ping></item></channel></rss>