<?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>Microsoft Certification Blog &#187; 70-526 study guide</title>
	<atom:link href="http://www.microsoftkit.com/tag/70-526-study-guide/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.microsoftkit.com</link>
	<description>MCTS,MCSE,MCITP,MCM,MCA</description>
	<lastBuildDate>Mon, 15 Mar 2010 03:27:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The latest free MCTS 70-526 study notes</title>
		<link>http://www.microsoftkit.com/latest-free-mcts-70-526-study-notes-pdf-ebook/</link>
		<comments>http://www.microsoftkit.com/latest-free-mcts-70-526-study-notes-pdf-ebook/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 08:30:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MCTS]]></category>
		<category><![CDATA[SQL Server 2005 exams]]></category>
		<category><![CDATA[.net 2.0 books]]></category>
		<category><![CDATA[70-526 braindumps]]></category>
		<category><![CDATA[70-526 pdf]]></category>
		<category><![CDATA[70-526 study guide]]></category>
		<category><![CDATA[70-526 topic areas]]></category>
		<category><![CDATA[free 70-526 ebook]]></category>
		<category><![CDATA[free 70-526 objective study notes]]></category>
		<category><![CDATA[latest dumps]]></category>
		<category><![CDATA[MCTS 70-526]]></category>
		<category><![CDATA[MS Press 70-526 self-paced training kit]]></category>
		<category><![CDATA[Visual Basic 2005]]></category>
		<category><![CDATA[Visual Studio.NET]]></category>

		<guid isPermaLink="false">http://www.microsoftkit.com/the-latest-free-mcts-70-526-study-notes/</guid>
		<description><![CDATA[Several days ago, we share our advice about 70-526 preparation  and the main topic areas on 70-526 exam .To help us better study MCTS 70-526, here we will share our exam notes on .net 2.0-Windows Based Client Development, which you can take as free eBook or Pdf online, but not braindumps .First of all, what [...]]]></description>
			<content:encoded><![CDATA[<p>Several days ago, we share our <a href="http://www.microsoftkit.com/advice-70-526-preparation-visual-studio-2005/"><span style="color: #0080c0;"><span style="text-decoration: underline;">advice about 70-526 preparation</span></span></a>  and<span style="color: #0080c0;"> </span><a href="http://www.microsoftkit.com/visual-studio-2005-the-main-topic-areas-on-70-526-exam/"><span style="color: #0080c0;"><span style="text-decoration: underline;">the main topic areas on 70-526 exam</span></span></a> .To help us better study MCTS 70-526, here we will share our exam notes on .net 2.0-Windows Based Client Development, which you can take as free eBook or Pdf online, but not braindumps .First of all, what I should emphasize is although the TechNotes cover .net 2.0,they can not replace any MS Press self-paced training kit or other .net 2.0 books .It just can play a role of study guide or help you better understand 70-526 topic areas .Get down to business, now we begin to talk about the MCTS 70-526 objective study notes(1)&#8211; Create and use custom dialog boxes in Windows Forms applications.. If there is confusion or mistake, please let me know.</p>
<p><span id="more-918"></span></p>
<p>It is noted that all of the technotes are based on Visual Basic 2005.</p>
<p>I remember the first time I needed to create a dialog box in a .NET application that I was writing in C#. Being a long-time Visual Basic programmer, I assumed that this could easily be accomplished by using a dialog box template included with Visual Studio.NET. To my surprise, no such form template existed for C#, although one does for Visual Basic 2005. After wading through several books and Web pages filled with information on Windows Forms 2.0 programming, a basic set of steps became apparent to me for manually converting a .NET form into a Windows dialog box:<br />
1. Add a Form to your .NET project and name it “DialogBoxForm”.<br />
2. Drop two buttons in the lower right-hand area of the Form and name them “OKButton” and “CancelButton”.<br />
3. Change the following properties of the Form to adjust its appearance and behavior to be like a standard dialog box:\</p>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td><a name="_Hlk249607255"><strong>Property </strong></a></td>
<td><strong>Value </strong></td>
<td><strong>Description </strong></td>
</tr>
<tr>
<td><strong>AcceptButton</strong></td>
<td><strong>OK button instance</strong></td>
<td><strong>Causes form to return value DialogResult.OK. Only used on modal dialog boxes.</strong></td>
</tr>
<tr>
<td><strong>CancelButton</strong></td>
<td><strong>Cancel button instance</strong></td>
<td><strong>Causes form to return value DialogResult.Cancel. Only used on modal dialog boxes.</strong></td>
</tr>
<tr>
<td><strong>FormBorderStyle</strong></td>
<td><strong>FixedDialog</strong></td>
<td><strong>Create a non-sizable form with no control box on the title bar.</strong></td>
</tr>
<tr>
<td><strong>HelpButton</strong></td>
<td><strong>True</strong></td>
<td><strong>The Help button appears in the caption bar next to the Close button. The ControlBox property must be True for these buttons to be visible.</strong></td>
</tr>
<tr>
<td><strong>MaximizeBox</strong></td>
<td><strong>False</strong></td>
<td><strong>Hide the Maximize button in the title bar.</strong></td>
</tr>
<tr>
<td><strong>MinimizeBox</strong></td>
<td><strong>False</strong></td>
<td><strong>Hide the Minimize button in the title bar.</strong></td>
</tr>
<tr>
<td><strong>ShowIcon</strong></td>
<td><strong>False</strong></td>
<td><strong>The title bar icon is not visible in a dialog box.</strong></td>
</tr>
<tr>
<td><strong>ShowInTaskBar</strong></td>
<td><strong>False</strong></td>
<td><strong>Do not indicate the presence of the form on the Windows Task Bar.</strong></td>
</tr>
<tr>
<td><strong>Start Position</strong></td>
<td><strong>CenterParent</strong></td>
<td><strong>The initial position of a dialog box is over its parent form.</strong></td>
</tr>
<tr>
<td><strong>Size</strong></td>
<td><strong>As Needed</strong></td>
<td><strong>The fixed size needed for the dialog box.</strong></td>
</tr>
</tbody>
</table>
<p> </p>
<p>These properties can be set using the Properties window for the form, or using code placed in the Form’s Load event:<br />
        Me.AcceptButton = OKButton<br />
        Me.CancelButton = CancelButton<br />
        Me.FormBorderStyle = Windows.Forms.FormBorderStyle.FixedDialog<br />
        Me.HelpButton = True<br />
        Me.MaximizeBox = False<br />
        Me.MinimizeBox = False<br />
        Me.ShowInTaskbar = False<br />
        Me.ShowIcon = False<br />
        Me.StartPosition = FormStartPosition.CenterParent<br />
4. Add the following button click event handlers to the Form:<br />
    Private Sub OKButton_Click(ByVal sender As Object, _</p>
<p>     ByVal e As EventArgs)<br />
        &#8216; User clicked the OK button<br />
        Me.DialogResult = Windows.Forms.DialogResult.OK<br />
    End Sub</p>
<p>    Private Sub CancelButton_Click(ByVal sender As Object, _</p>
<p>     ByVal e As EventArgs)<br />
        &#8216; User clicked the Cancel button<br />
        Me.DialogResult = Windows.Forms.DialogResult.Cancel<br />
    End Sub<br />
5. Add properties that you need to move data into and out of the dialog box as you would for any Form:<br />
    Private _LoginName As String<br />
    Private _LoginPassword As String</p>
<p>    Public Property LoginName() As String<br />
        Get<br />
            Return _LoginName<br />
        End Get<br />
        Set(ByVal value As String)<br />
            _LoginName = value<br />
        End Set<br />
    End Property</p>
<p>    Public Property LoginPassword() As String<br />
        Get<br />
            Return _LoginPassword<br />
        End Get<br />
        Set(ByVal value As String)<br />
            _LoginPassword = value<br />
        End Set<br />
    End Property<br />
6. Show the dialog box modally by calling the ShowDialog() of the form:<br />
    Public Sub ShowDialogBox()<br />
        Dim dialog As New DialogBoxForm</p>
<p>        dialog.LoginName = &#8220;JDMurray&#8221;<br />
        dialog.LoginPassword = String.Empty</p>
<p>        If dialog.ShowDialog() = Windows.Forms.DialogResult.OK Then<br />
            Debug.WriteLine(&#8220;Login Name: &#8221; &amp; dialog.LoginName)<br />
            Debug.WriteLine(&#8220;Password: &#8221; &amp; dialog.LoginPassword)<br />
        Else<br />
            &#8216; User clicked the Cancel button<br />
        End If<br />
    End Sub<br />
7. To show the dialog box modelessly, call the Show() method of DialogBoxForm instead. You will need to add an event handler to the Close event of DialogBoxForm to know when the user closes the dialog box:<br />
    Public Sub ShowDialogBox()<br />
        Dim dialog As DialogBoxForm = New DialogBoxForm<br />
        dialog.LoginName = &#8220;JDMurray&#8221;<br />
        dialog.Password = String.Empty<br />
        AddHandler dialog.FormClosed, AddressOf dialog_FormClosed<br />
        dialog.Show()</p>
<p>        &#8216; The Show() method returns immediately<br />
    End Sub</p>
<p>    Private Sub dialog_FormClosed(ByVal sender As Object, _</p>
<p>     ByVal e As FormClosedEventArgs)<br />
        &#8216; This method is called when the user closes the dialog box<br />
    End Sub</p>
<p>Thanks for your reading</p>
<p>this is from <a title="http://www.techexams.net/blogs/net/70-526/creating-dialog-boxes-in-net/" href="http://www.techexams.net/blogs/net/70-526/creating-dialog-boxes-in-net/">http://www.techexams.net/blogs/net/70-526/creating-dialog-boxes-in-net/</a>
<div class="lightsocial_container">
<a href="http://digg.com/submit?url=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F&amp;title=The+latest+free+MCTS+70-526+study+notes"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;
<a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F&amp;title=The+latest+free+MCTS+70-526+study+notes"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F&amp;title=The+latest+free+MCTS+70-526+study+notes"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;
<a href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F&amp;headline=The+latest+free+MCTS+70-526+study+notes"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;
<a href="http://www.dzone.com/links/add.html?title=The+latest+free+MCTS+70-526+study+notes&amp;url=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;
<a href="http://www.facebook.com/sharer.php?t=The+latest+free+MCTS+70-526+study+notes&amp;u=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;
<a href="http://delicious.com/save?title=The+latest+free+MCTS+70-526+study+notes&amp;url=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;
<a href="http://www.dotnetkicks.com/kick/?title=The+latest+free+MCTS+70-526+study+notes&amp;url=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;
<a href="http://dotnetshoutout.com/Submit?title=The+latest+free+MCTS+70-526+study+notes&amp;url=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;
<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F&amp;title=The+latest+free+MCTS+70-526+study+notes&amp;summary=&amp;source="><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;
<a href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.microsoftkit.com%2Flatest-free-mcts-70-526-study-notes-pdf-ebook%2F"><img src="http://www.microsoftkit.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.microsoftkit.com/latest-free-mcts-70-526-study-notes-pdf-ebook/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
