TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kriti
NA
60
0
Depending upon radiobutton clicked,panel should be visible
Jun 29 2010 5:38 AM
I have two radiobutton in Status.cs
panels are in class GetDataEmp.cs. GetDataEmp.cs contain two panel(panel1,panel2)one above(overlapped) the other.Panel2 is shown ,Panel 1 is hidden behind panel2.
if i click radiobutton1,panel 1 should be visible
and if i click radiobutton2,panel 2 should be visible
Now what i am doing is ,
in Status.cs
private void radiobutton1 _CheckedChanged(object sender, EventArgs e)
{
Panel panel2 = getpanel.getPanelNonProd();
Panel panel1 = getpanel.getPanelProd();
panel2.Visible = false;
panel1.Visible = true;
}
private void radiobutton2_CheckedChanged(object sender, EventArgs e)
{
Panel panel2 = getpanel.getPanelNonProd();
Panel panel1 = getpanel.getPanelProd();
panel2.Visible = true;
panel1.Visible = false;
}
Initially in design panel2 is visible.And it doesnot change on clicking radiobutton 1 or 2
What should be my approach here..>
Reply
Answers (
5
)
SysListView32 another application
Progress bar problem