[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


StatusStrip Control - VC#.NET

Posted on 2013-01-14
Medium Priority
Last Modified: 2013-01-17

I do have the following code in VB.NET for "StatusBar". Can you please provide me equivalent code in C# for "StatusStrip" control ?

Dim StatusBarPanel1 As New StatusBarPanel
Dim StatusBarPanel2 As New StatusBarPanel
StatusBarPanel1.Text = Now.Date.ToShortDateString()
StatusBarPanel2.Icon = New Icon("2.ico")
StatusBar1.ShowPanels = True

Question by:milani_lucie
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 75

Accepted Solution

käµfm³d   👽 earned 2000 total points
ID: 38774669
StatusBarPanel StatusBarPanel1 = new StatusBarPanel();
StatusBarPanel StatusBarPanel2 = new StatusBarPanel();
StatusBarPanel1.Text = DateTime.Now.Date.ToShortDateString();  // Added "DateTime"
StatusBarPanel2.Icon = new Icon("2.ico");
StatusBar1.ShowPanels = true;

//Service provided by Telerik (www.telerik.com)
//Conversion powered by NRefactory.
//Twitter: @telerik, @toddanglin
//Facebook: facebook.com/telerik

Open in new window


Author Comment

ID: 38774731

StatusBar is there in 2003 version. Now we do have StatusStrip control. I need the same example of StatusBar using StatusStrip control.


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question