The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Cool Controls for Windows Forms!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Dan Fernandez

Posts: 456
Nickname: danielfe
Registered: Aug, 2003

Daniel Fernandez is the Product Manager for C# in the developer division at Microsoft.
Cool Controls for Windows Forms! Posted: Jun 17, 2004 12:11 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Dan Fernandez.
Original Post: Cool Controls for Windows Forms!
Feed Title: Dan Fernandez's Blog
Feed URL: /msdnerror.htm?aspxerrorpath=/danielfe/Rss.aspx
Feed Description: Dan discusses Dot Net.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Dan Fernandez
Latest Posts From Dan Fernandez's Blog

Advertisement

Robert Green blogs about the release of the VB.NET PowerPack.  The PowerPack is a set of 7 cool new Windows Forms controls written in Visual Basic.NET.  Don't let the “VB“ in the title or your own language bias fool you, you can use these controls in any .NET language.  You can download the controls from the GotDotNet workspace.  My favorite control is the NotificationWindow control, which you've seen in MSN Messenger, SharpReader and several other applications. The code below creates a notification window, that when clicked, changes the label on a form.

 private void Form1_Load(object sender, System.EventArgs e)

{

     //Create Toast

     NotificationWindow toast = new NotificationWindow();

     toast.TextIsHyperLink = true;

     toast.ShowStyle = NotificationShowStyle.Slide;

               

     //Create Message for 6K milliseconds

     toast.Notify("Hello World!", 6000);

     toast.Click += new NotificationWindow.ClickEventHandler(toast_Click);

          

}

 

private void toast_Click(object sender, EventArgs e)

{

     //Event fires when a user clicks on the toast

     label1.Text = "You clicked Hello World";

}

If you are a true language snob (shame on you) and don't want to use these b/c it's called a VBPowerPack, you can always use a using alias at the top of your file as shown below: 

using PowerPack = VbPowerPack;

 

Read: Cool Controls for Windows Forms!

Topic: INETA proudly presents - The Visual Basic .NET Team Europe Tour Previous Topic   Next Topic Topic: Macro for ackward turnarounds

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use