We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Show Opened FileName in Titlebar of window form (using in C# .NET)

Thread ID:

Created:

Updated:

Platform:

Replies:

3536 Mar 27,2003 01:05 AM Mar 27,2003 01:20 PM Windows Forms 1
loading
Tags: FAQ
rajesh_ch
Asked On March 27, 2003 01:05 AM

Hello, I m working in C# .NET. I m facing a problem. Will u plz help me out... My Qu: Suppose U have a PictureBox or InkPicture in ur Form. It has opendialog control also. When u run the application, the user will select an image to open (thru opendialog) and that will be opened in picturebox ( or InkPicture). HOW TO SHOW THE FILENAME , THAT IS PRESENTLY OPENED IN PICTUREBOX OR INKPICTURE CONTROL ON FORM'S TITLEBAR????????????? Next time when user will open a new file, this current filename must be shown on form's titlebar. How could this be possible in c#. plz reply soon....

Ramesh Praveen [Syncfusion]
Replied On March 27, 2003 01:20 PM

After you open the file via the OpenFileDialog you should set the Form's Text to be OpenFileDialog.FileName. That should do it. Regards, Praveen Ramesh

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;