create a wizard [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to implement a wizard using winforms and VS 2010.
I've got this tutorial, but as I'm new to Visual Studio and C# I don't really understand it.
Could someone help me out?
My main problem is that I don't know where to put the listings in this tutorial?
Should I put all the code in one class? Or in one form.cs? How is it divided?
greetz
Bl!tz

It looks as if you will need to create a UserControl (right-click your project, New... User Control) for each page of the Wizard, and you will need to implement IWizardPage on your UserControl. Than you have your WizardHost which is a single Form.
So to answer your question you will have one Form and a UserControl for each page of the Wizard.

This is a simple example, use groupboxes, and set them all on visibility hidden, but only show the first one, then when u click the button u set the visibility of the first groupbox to hidden, and the set the visibility of the 2e one to show.
a groupbox can contain controls, so that u wont have to show or hide individual controls

Related

How can i disable moving between Tab Control tabs by mouse in c# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to move between tab on tab control using Navigation Buttons , and i don't want the user try to move between tabs using mouse , How can i do that ??
This doesn't really make a lot of sense.
Short of disabling the mouse cursor entirely, I don't know how you would possibly achieve this. Even if there were a way of "ignoring" mouse clicks on the tab control tabs, that would be incredibly bad UI. As far as the user would be concerned, your application would be pathetically broken—"I try to do the same thing I do in all other apps, but this one just sits here like it's dead. Stupid buggy program."
So that's a non-starter. If the goal here is to force the user to navigate through the tabs in a particular order (like a wizard), then I recommend just hiding the tabs altogether. Then the user won't be tempted to click on them or switch between them in an arbitrary order. You will have to control tab switching through code, by setting the SelectedTab or SelectedIndex property. This will also give you a place to run any additional code that you want when switching tabs.
You'll find instructions on how to hide the tabs on the TabControl in Hans's answer here.

hide form scrollbar in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Maybe this isn't a new question; but unfortunately I'm unable to solve my problem.
My Form needs to show scrollbar, but I don't want use scrollbar all the time.
I want to know how to show the ScrollBar only in specific conditions.
For example:
I want to set specific Form Position without using / showing the scrollbar when form is out of working area boundaries.
Thus my question: How to move Form Horizontally without using scrollbar?
Update: It seems still my question is unclear.
Please find bellow the following conditions:
Form requires ScrollBar functionality when the form border is smaller than the page.
Show ScrollBar when the Form is out of Working Area boundaries.
I wait for your useful replies!
You can set the AutoScroll to false and then update the scroll values programmatically:
this.HorizontalScroll.Value = this.HorizontalScroll.Maximum;

Which control is suitable for my application? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Now i am currently working on a c# based application.In that application now i am working on design part.i am using visual studio 2008,i want a control like below image
which control is available like above image in visual studio.
i tried treeview.but i can't get the link like above image(here link is blue line).
How to do this?
if you move to some new technologies, most of the new features will available to you.
if you use WPF, you can achieve it. there is much flexibility in UI Decoration in it.
your desired design with custom item icons and colour link
if you use red controls: link

Is it possible to code Jquery or Javascript in global.asax file [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Hi all i am having a requirement i.e i will have image icons on my form where i have to show tool tips when i hover the mouse on that icon. Assume that i have my controls as follows on a form
Bank Name Textbox Helpicon(when i mouse over on this i would like to display the tooltip from global.asax file)
Like that i have another form with same controls there also when i mouse over on the image icon i would like to display the same help file as tooltip for the help file.
I have done this with Jquery but my manager is asking to show the help text from the global.asax file.. so is it possible to show the help text when i mouse over the icon from global.asax file. Can any one provide sample code..
global.asax is not meat for this as it is pure server side code.
I assume you can use a master page that will always include the script you have done to display the tooltip.
You can just need to mark the help icon with a class and perhaps display the value that is written in the alt property (it makes sense since when javascript is disabled/not available people will still be able to view the help text)
Use a master page and put your jquery and other javascript there.

iTemplate what is it and place where i can get GOOD example in c# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
HI ,
I am currently trying to learn more about custom controls and how to use them etc. i have come across iTemplate interface and was hoping that someone could better explain its use and point me toward a good example implementation. From what i have found it allows you to change how an asp.net control will display items. ive tried searching code project etc for a good example but none explain it well. Id ideally like a very basic example and a more complex one.
thanks
Niall
ITemplate: Defines the behavior for populating a templated ASP.NET server control with child controls. The child controls represent the inline templates defined on the page. (taken from MSDN).
Take a look at these great tutorials: Developing Custom ASP.NET Server Controls or Templated Server Control Example.

Categories