I have seen this article http://www.c-sharpcorner.com/UploadFile/kirtan007/761/ which shows how to make a slide effect,I want to know how can I make a slide effect inside a form,I mean I have a radio button and when I check it I that want two other buttons appears inside the mainform.
I tried to put the radio button in a groupbox and i changed the code in the article into:
int WidthOfMain = Application.OpenForms["groupBox1"].Width;
int HeightofMain = Application.OpenForms["groupBox1"].Height;
int LocationMainX = Application.OpenForms["groupBox1"].Location.X;
int locationMainy = Application.OpenForms["groupBox1"].Location.Y;
But i get an exception,Can you help me please? Can you give me an idea ?
Thank you in advance
Good day
int HeightofMain = Application.OpenForms["groupBox1"].Height;
int LocationMainX = Application.OpenForms["groupBox1"].Location.X;
int locationMainy = Application.OpenForms["groupBox1"].Location.Y;
But i get an exception,Can you help me please? Can you give me an idea ?
Thank you in advance
Good day

FroglegRank #1,020 · 1.9K reputationPosted May 30, 2011, 10:35 AM EDT
Dorababu MekaRank #457 · 5.5K reputationPosted May 30, 2011, 7:37 AM EDT
nicole castel163 reputationPosted May 30, 2011, 12:54 PM EDT
@ Frogleg: Thank you for your help,it's a good idea :)
nicole castel163 reputationPosted May 30, 2011, 2:36 PM EDT
I'm asking questions here in csharpcorner because I have limited gasps of Csharp and I want to learn this language and I think that the project which I'm preparing is a good occasion, We all need to start somewhere.