<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'a  calendar question?' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'a  calendar question?' posted on the 'VB.NET' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 06:45:44 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 06:45:44 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>a  calendar question?</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409968/409968/a--calendar-question/</link>
      <description>If I use MonthCalendar in a program that I am working on for personal/medical use, is there a way to program that if the user click a date a new form will appear filling in the date automatically and closes the form with the MonthCalendar?  And then when you finish entering the data you want to enter, save the data to file, close the 2nd form and return to the 1st form?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409968/409968/a--calendar-question/</guid>
      <pubDate>Sat, 28 Nov 2009 02:09:32 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: a  calendar question?</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409968/410134/re-a--calendar-question/#410134</link>
      <description>Yes you should be able to program that functionality.&lt;br /&gt;
&lt;br /&gt;
There are multiple ways to solve this, here is how I would do it:&lt;br /&gt;
Create 2 global variables called:&lt;br /&gt;
Dim MonthCalForm as Form1&lt;br /&gt;
Dim DayInformation as Form2&lt;br /&gt;
&lt;br /&gt;
When I open the Month Calander form, I will set MonthCalForm = new Form1 and call MonthCalForm.Show()&lt;br /&gt;
&lt;br /&gt;
When I select a date (there is probably a DateSelected handler), (I  would make a Sub New for Form2 with Date as a parameter to streamline the form configuring itself)&lt;br /&gt;
&lt;br /&gt;
DayInformation = New Form2(Date) &lt;br /&gt;
DayInformation.Show()&lt;br /&gt;
MonthCalForm.Hide()&lt;br /&gt;
DayInfromation.Focus()&lt;br /&gt;
&lt;br /&gt;
When I click Save or Exit the DayInformation form, I would call MonthCalForm.Show() and possibly a public update function to grab updated information MonthCalForm.Update()&lt;br /&gt;
&lt;br /&gt;
That is how I would do it, of course I am just some punk kid&lt;br /&gt;
Sean C</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409968/410134/re-a--calendar-question/#410134</guid>
      <pubDate>Tue, 01 Dec 2009 09:00:09 -0700</pubDate>
      <category>VB.NET</category>
    </item>
  </channel>
</rss>
