<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gorancic.com</title>
	<atom:link href="http://www.gorancic.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gorancic.com/blog</link>
	<description>Gorancic.com Blog</description>
	<lastBuildDate>Sun, 22 Jan 2012 10:49:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>CrossCollaborate</title>
		<link>http://www.gorancic.com/blog/net/crosscollaborate</link>
		<comments>http://www.gorancic.com/blog/net/crosscollaborate#comments</comments>
		<pubDate>Wed, 03 Feb 2010 03:25:11 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[CrossCollaborate]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=175</guid>
		<description><![CDATA[CrossCollaborate is a software solution that I developed in 2009 as a major project which was part of my Thesis, collectively known as CAPSTONE at the University of Technology, Sydney. CrossCollaborate is a network based diagramming tool which allows users to interact in real-time and work on one or multiple diagrams simultaneously. It is an [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://gorancic.com/blog/wp-content/uploads/CrossCollaboratePoster.jpg"><img class="alignright" title="CrossCollaborate Poster" src="http://gorancic.com/blog/wp-content/uploads/CrossCollaboratePoster-thumb.jpg" alt="" width="150" height="212" /></a>CrossCollaborate is a software solution that I developed in 2009 as a major project which was part of my Thesis, collectively known as CAPSTONE at the University of Technology, Sydney.  CrossCollaborate is a network based diagramming tool which allows users to interact in real-time and work on one or multiple diagrams simultaneously.  It is an easy to use application which supports single user mode that can be run without the server.  The purpose of the application is to allow users to interact in real-time regardless of their physical location and share information.</p>
<p>Some features which have been implemented include cut/copy/paste, undo/redo, drag/drop, freely move and re-size objects on the surface, zoom-in/zoom-out and print/print preview. <a href="http://gorancic.com/blog/wp-content/uploads/CrossCollaborate.jpg"><img class="alignright" title="CrossCollaborate" src="http://gorancic.com/blog/wp-content/uploads/CrossCollaborate-thumb.jpg" alt="" width="150" height="117" /></a>  See the <a href="http://gorancic.com/blog/wp-content/uploads/CrossCollaboratePoster.jpg" title="Poster">poster</a> for more information. </p>
<p>The solution is entirely written in C# using an Object-Oriented approach. It is Event-Driven and is based on the Model-View-Controller and Client-Server architecture.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/net/crosscollaborate/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TPG bitometer</title>
		<link>http://www.gorancic.com/blog/net/tpgbitometer</link>
		<comments>http://www.gorancic.com/blog/net/tpgbitometer#comments</comments>
		<pubDate>Sun, 03 May 2009 09:48:51 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[bitometer]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[TPG]]></category>
		<category><![CDATA[TPG usage meter]]></category>
		<category><![CDATA[usage meter]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=97</guid>
		<description><![CDATA[TPG bitometer (aka TPG usage meter) is an internet usage meter which allows customers of TPG Internet to check, monitor and keep a history of their quota usage based on data provided by TPG. TPGbitometer can also be used to check the TPG e-mail inbox. It is available for download, free of charge. TPG bitometer [...]]]></description>
			<content:encoded><![CDATA[<p>TPG bitometer (aka TPG usage meter) is an internet usage meter which allows customers of TPG Internet to check, monitor and keep a history of their quota usage based on data provided by TPG. TPGbitometer can also be used to check the TPG e-mail inbox.</p>
<p>It is available for <a href="http://www.gorancic.com/files/TPGbitometer/TPGbitometer.zip" title="Download TPG bitometer">download</a>, free of charge.</p>
<p>TPG bitometer includes the following features:</p>
<ul>
<li>Compatible with 32bit and 64bit Windows.</li>
<li>No installation, single file download, nothing written to the registry.</li>
<li>Support for multiple TPG accounts.</li>
<li>Display basic information about the plan user signed up to.</li>
<li>Display number of days remaining until quota resets.</li>
<li>Display remaining peak/off-peak quota as a percentage and in megabytes.</li>
<li>Display used peak/off-peak quota as a percentage and in megabytes.</li>
<li>Display and keep a history of download usage in days, months and years.</li>
<li>Display remaining daily peak/off-peak quota for the current month.</li>
<li>Display the current service status reported by TPG.</li>
<li>Display remaining days, peak and off-peak usage in the system tray.</li>
<li>Ability to check if there is any email in the TPG inbox.</li>
<li>Ability to delete emails.</li>
<li>Ability to view email messages within the program.</li>
<li>Ability to run the program at start-up and delay the usage update.</li>
<li>Ability to check for program updates.</li>
<li>Change colour of the system tray icon.</li>
</ul>
<p><a href="http://www.gorancic.com/files/TPGbitometer/usage.png"><img class="alignnone" title="TPG bitometer (usage screen)" src="http://www.gorancic.com/files/TPGbitometer/usage-thumb.png" alt="TPG bitometer (usage screen)" width="148" height="80" /></a> <a href="http://www.gorancic.com/files/TPGbitometer/popup.png"><img class="alignnone" title="TPG bitometer (notification pop-up" src="http://www.gorancic.com/files/TPGbitometer/popup-thumb.png" alt="TPG bitometer (notification pop-up)" width="148" height="80" /></a> <a href="http://www.gorancic.com/files/TPGbitometer/about.png"><img class="alignnone" title="TPG bitometer (about screen)" src="http://www.gorancic.com/files/TPGbitometer/about-thumb.png" alt="TPG bitometer (about screen)" width="148" height="80" /></a></p>
<p><a href="http://www.gorancic.com/files/TPGbitometer/history-daily.png"><img class="alignnone" title="TPG bitometer (history screen)" src="http://www.gorancic.com/files/TPGbitometer/history-daily-thumb.png" alt="TPG bitometer (history screen)" width="148" height="80" /></a> <a href="http://www.gorancic.com/files/TPGbitometer/history-daily-tooltip.png"><img class="alignnone" title="TPG bitometer (history screen with tooltip)" src="http://www.gorancic.com/files/TPGbitometer/history-daily-tooltip-thumb.png" alt="TPG bitometer (history screen with tooltip)" width="148" height="80" /></a> <a href="http://www.gorancic.com/files/TPGbitometer/history-table.png"><img class="alignnone" title="TPG bitometer (table history screen)" src="http://www.gorancic.com/files/TPGbitometer/history-table-thumb.png" alt="TPG bitometer (table history screen)" width="148" height="80" /></a></p>
<p><a href="http://www.gorancic.com/files/TPGbitometer/email.png"><img class="alignnone" title="TPG bitometer (email screen)" src="http://www.gorancic.com/files/TPGbitometer/email-thumb.png" alt="TPG bitometer (email screen)" width="148" height="80" /></a> <a href="http://www.gorancic.com/files/TPGbitometer/status.png"><img class="alignnone" title="TPG bitometer (service status screen)" src="http://www.gorancic.com/files/TPGbitometer/status-thumb.png" alt="TPG bitometer (service status screen)" width="148" height="80" /></a> <a href="http://www.gorancic.com/files/TPGbitometer/settings.png"><img class="alignnone" title="TPG bitometer (settings screen)" src="http://www.gorancic.com/files/TPGbitometer/settings-thumb.png" alt="TPG bitometer (settings screen)" width="148" height="80" /></a></p>
<p><span id="more-97"></span></p>
<p><a href="http://www.gorancic.com/files/TPGbitometer/TPGbitometer.zip" title="Download TPG bitometer">Download TPG bitometer v1.2.3</a> (421kb)</p>
<p>Release notes :</p>
<p>** v1.2.3 ** (16/01/2012)<br />
- Fixed bug which prevented some users from shutting down the PC when the application was running.</p>
<p>** v1.2.2 ** (28/12/2011)<br />
- Fixed bug which prevented data retrieval for certain plans.<br />
- Fixed bug which hid the email content window behind the main application for some users.</p>
<p>** v1.2.1 ** (09/10/2011)<br />
- Updated program to reflect changes made on the TPG web site.</p>
<p>** v1.2.0 ** (08/05/2011)<br />
- Fixed bug introduced in v1.1.9.</p>
<p>** v1.1.9 ** (08/05/2011)<br />
- Added support for plans with counted uploads.<br />
- Added icon for colour picker under Settings tab.<br />
- Show some information for &#8216;Unlimited&#8217; plans.<br />
- Removed &#8216;Mini View&#8217; as it is redundant.<br />
- Removed the minimize and hide buttons.<br />
- Pressing the &#8216;X&#8217; button will hide the application.<br />
- Added a single-click to show the application next to the notification area.<br />
- Application is no longer shown in the taskbar.</p>
<p>** v1.1.8 ** (23/04/2011)<br />
- Retrieve data using a single HTTP session.<br />
- Display usage window when mouse cursor hovers over the notification icon.</p>
<p>** v1.1.7 ** (22/11/2010)<br />
- Fixed crash on StartUp related to History type.</p>
<p>** v1.1.6 ** (21/11/2010)<br />
- Support for multiple TPG accounts.<br />
- Display the date and time the usage was last updated on the TPG web site.<br />
- Display a message instead of an error for plans which are no longer monitored by TPG.<br />
- Additional tables to compliment graphs.<br />
- A Mini Form to show less information.<br />
- A different colour for weekdays in tables and graphs.<br />
- A new graphical user interface.<br />
- The interface now renders correctly under different DPI.<br />
- Enable/Disable the Settings->Apply button based on setting changes.<br />
- Increased the application icon resolution.<br />
- New PayPal icon.</p>
<p>** v1.1.5 ** (09/05/2010)<br />
- Updated program to reflect changes made on the TPG usage and status page.<br />
- Increased font of status message.<br />
- Added support for the unlimited plan.</p>
<p>** v1.1.4 ** (08/02/2010)<br />
- Updated service status page.<br />
- Reworded some error messages.</p>
<p>** v1.1.3 ** (18/11/2009)<br />
- Updated program to reflect minor changes made on the TPG usage page.</p>
<p>** v1.1.2 ** (22/09/2009)<br />
- Fixed a bug introduced in v1.1.1 related to checking for program updates on program start-up when an internet connection is not established.</p>
<p>** v1.1.1 ** (22/09/2009)<br />
- Updated program to reflect minor changes made on the TPG usage page.<br />
- Updated donate button link.<br />
- Updated status function to also check Mobile status.<br />
- Added feature to check for program updates during program start-up.<br />
- Changed default system tray text colour from WhiteSmoke to GreenYellow.</p>
<p>** v1.1.0 ** (21/08/2009)<br />
- Fixed a bug introduced in v1.0.9 where all users were treated as having peak and off-peak times.</p>
<p>** v1.0.9 ** (21/08/2009)<br />
- Updated program to reflect changes made on the TPG VoIP usage page.</p>
<p>** v1.0.8 ** (18/08/2009)<br />
- Updated program to reflect changes made on the TPG web site.</p>
<p>** v1.0.7 ** (19/07/2009)<br />
- Fixed a bug introduced in v1.0.6 which prevented users without off-peak time to<br />
  retrieve their usage.</p>
<p>** v1.0.6 ** (17/07/2009)<br />
- Fixed a bug where negative days were sometimes shown due to late TPG website updates.<br />
- Fixed some unexpected exceptions caused by broken TPG usage pages.<br />
- Added extra status messages.<br />
- Added feature to show usage as &#8216;remaining usage&#8217; or &#8216;used usage&#8217; for the monthly period.</p>
<p>** v1.0.5 ** (03/07/2009)<br />
- Fixed a bug where incorrect remaining daily peak/off-peak quota was shown when<br />
  there was less than 1 day remaining.<br />
- Added a new graph that shows monthly billing period download usage.<br />
- Added feature to show quota in megabytes or gigabytes.</p>
<p>** v1.0.4 ** (24/05/2009)<br />
- Added feature to view remaining daily peak/off-peak quota for the current month.<br />
- Fixed a typo in &#8216;Next month starts&#8217;<br />
- Fixed a crash when trying to continuously retrieve email with incorrect details.</p>
<p>** v1.0.3 ** (08/05/2009)<br />
- Fixed a bug where sometimes incorrect remaining days were shown.</p>
<p>** v1.0.2 ** (06/05/2009)<br />
- Added the ability to view email messages within the program.<br />
- Added an additional button to open WebMail.</p>
<p>** v1.0.1 ** (03/05/2009)<br />
- Added separate login data for email.</p>
<p>** v1.0.0 ** (03/05/2009)<br />
- First release to the public.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/net/tpgbitometer/feed</wfw:commentRss>
		<slash:comments>94</slash:comments>
		</item>
		<item>
		<title>Removing white border on a ToolStrip</title>
		<link>http://www.gorancic.com/blog/net/removing-white-border-in-a-toolstrip</link>
		<comments>http://www.gorancic.com/blog/net/removing-white-border-in-a-toolstrip#comments</comments>
		<pubDate>Sun, 08 Mar 2009 02:30:59 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[ToolStrip]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=59</guid>
		<description><![CDATA[If you have ever used the ToolStrip control and changed its background colour, you will have noticed that it has a white border around it as show in the picture. This problem can be overcome with a simple override. Create a new file ToolStripOverride.cs and copy the following code. 1 2 3 4 5 6 [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://www.gorancic.com/blog/wp-content/uploads/toolstripline.gif" title="ToolStrip bug" class="alignright" width="169" height="120" />If you have ever used the ToolStrip control and changed its background colour, you will have noticed that it has a white border around it as show in the picture. This problem can be overcome with a simple override.</p>
<p>Create a new file ToolStripOverride.cs and copy the following code.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">System.Windows.Forms</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">namespace</span> OverrideControls
<span style="color: #008000;">&#123;</span>
    <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">class</span> ToolStripOverride <span style="color: #008000;">:</span> ToolStripProfessionalRenderer
    <span style="color: #008000;">&#123;</span>
        <span style="color: #0600FF; font-weight: bold;">public</span> ToolStripOverride<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span> <span style="color: #008000;">&#125;</span>
&nbsp;
        <span style="color: #0600FF; font-weight: bold;">protected</span> <span style="color: #0600FF; font-weight: bold;">override</span> <span style="color: #6666cc; font-weight: bold;">void</span> OnRenderToolStripBorder<span style="color: #008000;">&#40;</span>ToolStripRenderEventArgs e<span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span> <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>Then inside the class where you have your ToolStrip control add the following line to the constructor.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;">myToolStripControl<span style="color: #008000;">.</span><span style="color: #0000FF;">Renderer</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ToolStripOverride<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/net/removing-white-border-in-a-toolstrip/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>C#: PayPal Donate Button</title>
		<link>http://www.gorancic.com/blog/net/c-paypal-donate-button</link>
		<comments>http://www.gorancic.com/blog/net/c-paypal-donate-button#comments</comments>
		<pubDate>Sun, 14 Dec 2008 04:15:41 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Donate]]></category>
		<category><![CDATA[PayPal]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=49</guid>
		<description><![CDATA[If you have a PayPal account and would like to add a donate button to your application you can use the following code. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 private void btnDonate_Click&#40;object sender, System.EventArgs e&#41; &#123; string url = &#34;&#34;; &#160; string [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a PayPal account and would like to add a donate button to your application you can use the following code.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">void</span> btnDonate_Click<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">object</span> sender, <span style="color: #000000;">System</span><span style="color: #008000;">.</span><span style="color: #0000FF;">EventArgs</span> e<span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
    <span style="color: #6666cc; font-weight: bold;">string</span> url <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;&quot;</span><span style="color: #008000;">;</span>
&nbsp;
    <span style="color: #6666cc; font-weight: bold;">string</span> business     <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;my@paypalemail.com&quot;</span><span style="color: #008000;">;</span>  <span style="color: #008080; font-style: italic;">// your paypal email</span>
    <span style="color: #6666cc; font-weight: bold;">string</span> description  <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Donation&quot;</span><span style="color: #008000;">;</span>            <span style="color: #008080; font-style: italic;">// '%20' represents a space. remember HTML!</span>
    <span style="color: #6666cc; font-weight: bold;">string</span> country      <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;AU&quot;</span><span style="color: #008000;">;</span>                  <span style="color: #008080; font-style: italic;">// AU, US, etc.</span>
    <span style="color: #6666cc; font-weight: bold;">string</span> currency     <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;AUD&quot;</span><span style="color: #008000;">;</span>                 <span style="color: #008080; font-style: italic;">// AUD, USD, etc.</span>
&nbsp;
    url <span style="color: #008000;">+=</span> <span style="color: #666666;">&quot;https://www.paypal.com/cgi-bin/webscr&quot;</span> <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;?cmd=&quot;</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;_donations&quot;</span> <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;&amp;business=&quot;</span> <span style="color: #008000;">+</span> business <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;&amp;lc=&quot;</span> <span style="color: #008000;">+</span> country <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;&amp;item_name=&quot;</span> <span style="color: #008000;">+</span> description <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;&amp;currency_code=&quot;</span> <span style="color: #008000;">+</span> currency <span style="color: #008000;">+</span>
        <span style="color: #666666;">&quot;&amp;bn=&quot;</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;PP%2dDonationsBF&quot;</span><span style="color: #008000;">;</span>
&nbsp;
    <span style="color: #000000;">System.<span style="color: #0000FF;">Diagnostics</span></span><span style="color: #008000;">.</span><span style="color: #0000FF;">Process</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Start</span><span style="color: #008000;">&#40;</span>url<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/net/c-paypal-donate-button/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Windows Forms with Rounded Corners</title>
		<link>http://www.gorancic.com/blog/net/windows-forms-with-rounded-corners</link>
		<comments>http://www.gorancic.com/blog/net/windows-forms-with-rounded-corners#comments</comments>
		<pubDate>Mon, 08 Dec 2008 07:53:24 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Rounded corners]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=47</guid>
		<description><![CDATA[Have you ever found yourself developing a custom user interface and needed rounded corners which work on different Windows Operating Systems? If you are using Windows Vista this is easily achieved by using a rounded PNG image with transparent corners and setting the transparency property. This however does not work on systems such as Windows [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever found yourself developing a custom user interface and needed rounded corners which work on different Windows Operating Systems?</p>
<p>If you are using Windows Vista this is easily achieved by using a rounded PNG image with transparent corners and setting the transparency property.  This however does not work on systems such as Windows XP.</p>
<p>The following C# code can be used to ensure you have rounded corners on a number of Windows Operating Systems.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&#91;</span>DllImport<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Gdi32.dll&quot;</span>, EntryPoint <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;CreateRoundRectRgn&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#93;</span>
<span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #0600FF; font-weight: bold;">extern</span> IntPtr CreateRoundRectRgn
<span style="color: #008000;">&#40;</span>
    <span style="color: #6666cc; font-weight: bold;">int</span> nLeftRect,      <span style="color: #008080; font-style: italic;">// x-coordinate of upper-left corner</span>
    <span style="color: #6666cc; font-weight: bold;">int</span> nTopRect,       <span style="color: #008080; font-style: italic;">// y-coordinate of upper-left corner</span>
    <span style="color: #6666cc; font-weight: bold;">int</span> nRightRect,     <span style="color: #008080; font-style: italic;">// x-coordinate of lower-right corner</span>
    <span style="color: #6666cc; font-weight: bold;">int</span> nBottomRect,    <span style="color: #008080; font-style: italic;">// y-coordinate of lower-right corner</span>
    <span style="color: #6666cc; font-weight: bold;">int</span> nWidthEllipse,  <span style="color: #008080; font-style: italic;">// height of ellipse</span>
    <span style="color: #6666cc; font-weight: bold;">int</span> nHeightEllipse  <span style="color: #008080; font-style: italic;">// width of ellipse</span>
<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">// Set your own values</span>
Region <span style="color: #008000;">=</span> <span style="color: #000000;">System.<span style="color: #0000FF;">Drawing</span></span><span style="color: #008000;">.</span><span style="color: #0000FF;">Region</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FromHrgn</span><span style="color: #008000;">&#40;</span>CreateRoundRectRgn<span style="color: #008000;">&#40;</span><span style="color: #FF0000;">1</span>, <span style="color: #FF0000;">1</span>, <span style="color: #FF0000;">10</span>, <span style="color: #FF0000;">10</span> <span style="color: #FF0000;">16</span>, <span style="color: #FF0000;">16</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/net/windows-forms-with-rounded-corners/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Visual Studio: How to build only the StartUp project</title>
		<link>http://www.gorancic.com/blog/net/visual-studio-how-to-build-only-the-startup-project</link>
		<comments>http://www.gorancic.com/blog/net/visual-studio-how-to-build-only-the-startup-project#comments</comments>
		<pubDate>Fri, 10 Oct 2008 02:52:13 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Macros]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=44</guid>
		<description><![CDATA[Have you ever found yourself working on a Visual Studio solution consisting of multiple projects and wanting to build only the start-up project using a shortcut key? Unfortunately for some bizarre reason Visual Studio 2005 and 2008 do not have this feature by default.  However, there is a simple solution to this. Create a macro [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever found yourself working on a Visual Studio solution consisting of multiple projects and wanting to build only the start-up project using a shortcut key?</p>
<p>Unfortunately for some bizarre reason Visual Studio 2005 and 2008 do not have this feature by default.  However, there is a simple solution to this. Create a macro and assign it a shortcut key.</p>
<p>First create a new macro module though Tools &gt; Macros with the following code</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="vbnet" style="font-family:monospace;"><span style="color: #0600FF;">Imports</span> System
<span style="color: #0600FF;">Imports</span> EnvDTE
<span style="color: #0600FF;">Imports</span> EnvDTE80
<span style="color: #0600FF;">Imports</span> System.<span style="color: #0000FF;">Diagnostics</span>
&nbsp;
<span style="color: #FF8000;">Public</span> Module BuildStartup
    <span style="color: #0600FF;">Sub</span> BuildStartup<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
        DTE.<span style="color: #0000FF;">Solution</span>.<span style="color: #0000FF;">SolutionBuild</span>.<span style="color: #0000FF;">BuildProject</span><span style="color: #000000;">&#40;</span>DTE.<span style="color: #0000FF;">Solution</span>.<span style="color: #0000FF;">SolutionBuild</span>.<span style="color: #0000FF;">ActiveConfiguration</span>.<span style="color: #0000FF;">Name</span>, DTE.<span style="color: #0000FF;">Solution</span>.<span style="color: #0000FF;">SolutionBuild</span>.<span style="color: #0000FF;">StartupProjects</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span>, <span style="color: #0600FF;">False</span><span style="color: #000000;">&#41;</span>
    <span style="color: #0600FF;">End</span> <span style="color: #0600FF;">Sub</span>
<span style="color: #0600FF;">End</span> Module</pre></td></tr></table></div>

<p>Now that you have the macro, you simply assign it a shortcut key through Tools &gt; Options.  Look for &#8220;Keyboard” under “Environment”.  Find your macro in the command list and assign it a shortcut key.</p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/net/visual-studio-how-to-build-only-the-startup-project/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gorancic.com v2.0</title>
		<link>http://www.gorancic.com/blog/news/goranciccom-v20</link>
		<comments>http://www.gorancic.com/blog/news/goranciccom-v20#comments</comments>
		<pubDate>Mon, 15 Sep 2008 11:30:02 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=26</guid>
		<description><![CDATA[It has been a long time but my site Gorancic.com has finally had a makeover. I have added a blog to the site which replaced the outdated guestbook and news section.  This makes it much easier for me to post articles so expect some great stuff. Gorancic.com v2.0 went live on the 14/09/2008.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gorancic.com/files/web/Gorancic.com-v2.0.jpg"><img alt="" src="http://www.gorancic.com/files/web/Gorancic.com-v2.0-thumb.jpg" title="Gorancic.com v2.0" class="alignright" width="245" height="127" /></a>It has been a long time but my site <a href="http://www.gorancic.com" title="Gorancic.com">Gorancic.com</a> has finally had a makeover.</p>
<p>I have added a blog to the site which replaced the outdated guestbook and news section.  This makes it much easier for me to post articles so expect some great stuff.</p>
<p>Gorancic.com v2.0 went live on the 14/09/2008.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/news/goranciccom-v20/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social shaping of technology</title>
		<link>http://www.gorancic.com/blog/articles/social-shaping-of-technology</link>
		<comments>http://www.gorancic.com/blog/articles/social-shaping-of-technology#comments</comments>
		<pubDate>Mon, 15 Sep 2008 11:03:55 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Sociology]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=23</guid>
		<description><![CDATA[The case study article, Thirty Years of Trends in Transit-Oriented Development across America by John Luciano Renne was presented at the Transit Oriented Development – Making it Happen, Fremantle WA (July 2005).  It is based and expands on a national study conducted by the Transit Cooperative Research Program (TCRP); it was released in 2004 and [...]]]></description>
			<content:encoded><![CDATA[<p>The case study article, Thirty Years of Trends in Transit-Oriented Development across America by John Luciano Renne was presented at the Transit Oriented Development – Making it Happen, Fremantle WA (July 2005).  It is based and expands on a national study conducted by the Transit Cooperative Research Program (TCRP); it was released in 2004 and looked at transit oriented development (TOD ) across the United States.  The case study examines the trends of travel behaviour and vehicle ownership from the year 1970 to 2000 in 103 TODs located in twelve regions  across the United States (Renne 2005).  The case outlines the benefits of TODs and how it helps our society by using public transport, walking, cycling and reducing the number of vehicles used.  The aim of this examination is to analyse various theories in understanding technology.  The three main theories are the instrumentalist theory, the determinist theory and the social practice theory (Davison 2004).  <span id="more-23"></span>The instrumentalist theory represents technology as a tool developed by the society lacking any meaning or purpose, the society being in control over it.  Determinist theory sees technology as autonomous, outside human control and either utopian or dystopian.  The social practice theory goes beyond both the instrumentals theory and determinist theory; it combines the two to give a broader definition.  Technology doesn’t control the society but influences it in some way; they are in harmony and support each other.  This essay looks at whether Renne’s study is comparative to the explanations of technology presented by Davison.  It will be argued that the social practice theory of technology is supported by the case study more than the instrumentalist theory or the determinist theory.  This will be accomplished by summarising relevant ideas and information from the case study, why the two theories are inadequate, how the third overcomes problems presented in the other two theories and provides a better explanation of the case study, and finally a concluding paragraph.</p>
<p>Renne’s research outlines the effect of transit oriented development (TOD) that is based on a national study conducted by the Transit Cooperative Research Program (TCRP) in the United States.  It is argued that “TODs encourage sustainable transport use for commuting and maintain lower rates of vehicle ownership” (Renne 2005, p24).  This illustrates the social practice theory; we see technology and society supporting each other for a better sustainable future.  Others have claimed the same outcome, “TOD leads to more sustainable outcomes and reduced car dependence” (Bernick and Cervero 1997; Dittmar and Ohland 2004; Dunphy et al. 2004; Newman and Kenworthy 1999 as cited in Renne 2005, p1).  However having a good system such as the TOD doesn’t help towards a better future if it’s not adopted by the society.  This is evident from places such as Atlanta where “data revealed a decline in the share of transit use to work for the TODs” (Renne 2005, p8), where as places such as Washington D.C., Portland and San Francisco have promoted and embraced TOD with aggressive policies (Renne 2005).  This is a prime example in the report of technology being used as a tool – instrumentalist theory.  On the contrary regions have become more auto-dependent – implying a determinist theory (Renne 2005).  Furthermore, “Census reveals that the percentage of commuting on transit continued to diminish across the regions” (Renne 2005, p8).  Despite those results more than twice as many residents of TODs used transit commuting compared to the regional average in 2000 (Renne 2005).</p>
<p>The instrumentalist theory is inadequate in properly explaining the case study in a sufficient amount of depth or precision.  The instrumentalist theory represents technology as a neutral tool developed by the society lacking any inherent meanings or purpose used to advance their interests in life, the society being in control over it (Davison 2004).  If Renne’s report (July 2005) is to be an example of this theory there would be clear evidence to support the theory.  However this is not the case.  Renne reports on the decline of transit use across the regions (Renne 2005).<br />
Furthermore “aggregate statistics for the United States report that the transit share of work travel has been on the decline for the past 40 years.  The percentage of transit commute trips has steadily declined from 12.6 percent in 1960 to 4.7 percent in 2000 (Puncher and Renne 2003 cited in Renne 2005, p7).  Additionally “walking and cycling have been constantly decreasing across regions” (Renne 2005, p13).  Although this particular technology isn’t used widely by the society there are places such as Portland that have “the most aggressive TOD program in the United States” (Cervero et al. 2004, p363 as cited in Renne 2005, p15).  This is one example of the instrumentalist theory where technology is being used as a tool to help the society.  From the above points it can be seen that this particular theory is insufficient in explaining the case study.</p>
<p>The determinist theory is also insufficient in explaining the case study by John Renne (July 2005).  The determinist theory sees technology as an “autonomous master” (Davison 2004, p134) this implies that the inventions became the masters of makers.  The only reference in the case study article that suggests this theory is the auto-dependency.  This is evident from comments such as “The United States is the most auto-dependent country in the world” (Newman and Kenworthy 1999; Pucher and Lefevre 1996 as cited in Renne 2005, p1).  If the case study article leaned towards the determinist theory there would have been no need for Renne to produce the report to encourage transit oriented development because the society would already be using/depend on the technology on a large scale.  Another example that shows the article doesn’t support this particular theory is the decline of transit transport.  “Overall, results confirmed that the transit mode share for commuting has fallen, on average, by 63 percent across the twelve regions over 30 years (from 19.0 percent in 1970 to 7.1 percent in 2000)” (Renne 2005, p7).  Consequently walking and cycling declined across the United States which increased the levels of obesity (Renne 2005).  This clearly illustrates that the case study doesn’t lean towards determinism.</p>
<p>The social practice theory of technological change goes beyond both the instrumentalist theory and determinist theory; it combines the two to give a broader definition.  The technology doesn’t control the society but influences it in some way.  As Aidan Davison said, “we are being made as we make our world” (2004, p144).  This theory best describes Renne’s report.  He provides substantial evidence to support the social practice theory and is evident throughout the report.  For example “a recent study by Reconnecting America’s Centre for Transit Oriented Development found lower vehicle ownership rates, on average, within a half-mile of rail stations” (Renne 2005, p18).  This is based on “3,341 fixed guides way transit stations across the United States for the year 2000” (Renne 2005, p18).  It can be seen that TODs influence the society by having fewer vehicles and at the same time not controlling the society.  Places that introduced transit oriented development showed promising results.  Not only does transit oriented development help the environment by reducing the number of vehicles used (by the society) it also helps the society directly by encouraging an active life; on a daily walking bases and cycling.  It is known that an active life will improve the quality of life, this is supported by the comment “some researchers even have linked increasing levels of obesity with corresponding decreases in walking, cycling and use of public transport” (Renne 2005, p11).  Furthermore “many have claimed that transit-oriented development (TOD) leads to more sustainable outcomes and reduces car dependence” (Bernick and Cervero 1996; Calthrope 1999; Dittmar and Ohland 2004; Dunphy et al. 2004; Newman and Kenworthy 1999 as cited in Renne 2005, p1).  This shows that TOD is the way to go in creating a more sustainable future.  Transit-oriented development has been able to maintain high levels of transit usage over the past 30 years although “Census data reveals that the percentage of commuting on transport continued to diminish across the regions” (Renne 2005, p8).  This may sound like a bad thing, the society abandoning the TOD system, however it supports the theory.  It shows that the society needs this system to create a more sustainable world but at the same time it shows that it doesn’t depend on it.  With this evidence John Renne’s (July 2005) case study is clearly illustrative of the social practice theory.</p>
<p>The theoretical ideas of technology argued by Davison (2004) have been explored in the context of a case study of John Luciano Renne (July 2005).  The evidence presented in the case study has been analysed and it has been concluded that it supports a social practice theory more than either an instrumentalist theory or determinist theory.  Aidan Davison also highlights the importance of social practice by saying these theories “ignore the many ways in which technological means and human ends interact” (2004, p134).  Davison is referring to determinism and instrumentalism being separate theories and needing to be combined in order to create an overall understanding of technology.</p>
<p>References</p>
<p>Davison, Aidan 2004, ‘Chapter Eight Sustainable Technology: Beyond Fix and Fixation’ in White, Rob (ed) Controversies in Environmental Sociology, Cambridge University Press, Cambridge, UK, pp. 132-149.</p>
<p>Renne, J. L. ‘Thirty Years of Trends in Transit-Oriented Development Across America’, pp1-27 PATREC (Planning and Transport Research Centre) Conference Paper presented at Transit Oriented Development – Making it Happen, Fremantle WA, 5-8 July 2005.</p>
<p><a href="http://www.gorancic.com/files/misc/Social.shaping.of.technology.pdf" title="Ssocial shaping of technology">Download a .pdf copy here!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/articles/social-shaping-of-technology/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>2008</title>
		<link>http://www.gorancic.com/blog/news/2008</link>
		<comments>http://www.gorancic.com/blog/news/2008#comments</comments>
		<pubDate>Mon, 15 Sep 2008 02:03:23 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[University]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=16</guid>
		<description><![CDATA[Hard to believe it&#8217;s already the year 2008. I wanted to write some news earlier but haven&#8217;t had the time to. :( I started my internship in August as a software developer/tester with Cognethos and have been flat out with work ever since. At the end of January I will have completed my internship but [...]]]></description>
			<content:encoded><![CDATA[<p>Hard to believe it&#8217;s already the year 2008.  I wanted to write some news earlier but haven&#8217;t had the time to. :(</p>
<p>I started my internship in August as a software developer/tester with Cognethos and have been flat out with work ever since. At the end of January I will have completed my internship but having proved myself worth keeping I have been offered a position to continue working there. :)</p>
<p>I absolutely love working at Cognethos so I accepted the position. My time wasn&#8217;t wasted with trivial tasks. I work on real projects for customers and do my best to keep everyone happy. Right now I&#8217;m involved in a project worth millions of dollars. This has to be one of the most interesting projects that I have worked on. A system is being developed which involves a number of organisations and everyone is working on different tasks simultaneously and in the end things are supposed to come together and just work. I found it extremely interesting writing hundreds of lines of code that didn&#8217;t even compile because I did not have other parts, which I was waiting for someone else to complete. At the end it just worked. I can&#8217;t describe the satisfaction I got when I saw it working. hehe</p>
<p>I go back to university at the end of February, don&#8217;t know if that&#8217;s a good or bad thing :p</p>
<p>One thing is certain; UTS administration isn&#8217;t making it easy for me. I&#8217;m trying to swap some subjects but apparently it will take weeks before its processed because they have a large number of these requests to get through. This is all nice and good but doesn&#8217;t really help me if the registration closing date is just around the corner. :(</p>
<p>On the social side of things, I have started going out with Vanessa and spending as much time with her as I can. She also goes to UNI and works in IT, which makes things easier for us since we are on the same wave length :)</p>
<p>Being summer in Australia we spend a lot of time at different beaches in and outside of Sydney.  It&#8217;s refreshing to escape the city, relax and just enjoy yourself :)</p>
<p>I could go on and on about my life and the last 6 months but I should stop here. hehe</p>
<p>I think it&#8217;s safe to say that this year will end even faster than last year. :(  Now I have to juggle work, uni, soccer, gym and my social life in general.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/news/2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>End of semester</title>
		<link>http://www.gorancic.com/blog/news/end-of-semester</link>
		<comments>http://www.gorancic.com/blog/news/end-of-semester#comments</comments>
		<pubDate>Mon, 15 Sep 2008 02:00:29 +0000</pubDate>
		<dc:creator>Beno Gorancic</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Football]]></category>
		<category><![CDATA[University]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.gorancic.com/blog/?p=14</guid>
		<description><![CDATA[I have been doing UNI work flat out that I haven&#8217;t had time to update the site. The semester is finally over but I still have exams and a major project to complete. Once that is over at the end of the month expect another update from me :) I need to complete my internship [...]]]></description>
			<content:encoded><![CDATA[<p>I have been doing UNI work flat out that I haven&#8217;t had time to update the site.</p>
<p>The semester is finally over but I still have exams and a major project to complete. Once that is over at the end of the month expect another update from me :)</p>
<p>I need to complete my internship so I have applied for a few places.  Fingers crossed I get one of the jobs.</p>
<p>If anyone is wondering how football is going, I can tell you that we are 1st on the table.</p>
<p>On the weekend friends and I went bowling which was fun, it always is.  After playing three games we went to the city for dinner.  I got myself Chicken Laksa and it was the best Chicken Laksa I ever had :D</p>
<p>I have also made a new Website (CyberTone Systems) which you can find in the portfolio &gt; web section.</p>
<p>Well, this has been a small update brought to you by Beno.  Now back to my exam study, wish me luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gorancic.com/blog/news/end-of-semester/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

