Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2008

Tip: Looking for answers? Try searching our database.

how to write a window load event in c# for a xaml window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
moondaddy - 23 Jan 2008 08:52 GMT
using c# 3.5, I need to write a form load event in a xaml window's
codebehind, but I have now idea how to start this.  can someone please
advise?

Thanks.

Signature

moondaddy@newsgroup.nospam

Walter Wang [MSFT] - 24 Jan 2008 00:36 GMT
Hi,

You can use the Window's Loaded event:

<Window x:Class=...   Loaded="Window_Loaded">
..

       private void Window_Loaded(object sender, RoutedEventArgs e)
       {

       }

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
moondaddy - 29 Jan 2008 19:57 GMT
Thanks Walter.

> Hi,
>
[quoted text clipped - 19 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.