|
-
August 4th, 2014, 12:39 PM
#1
how to show multiform calculator with fix size in c# winform?
i am trying to make a windows 7 look like calculator i have done the making of basic calculator functions and now i am trying to include scientific and trigonometry functions in calculator and i am trying to do it by making multiple form now here comes the problem
what i am trying to do is when i click on scientific button the form1(main form) change its size and show form2 with no border an attach it self with form1 basic functions and if i click on trigonometry button the form2 (scientific) go and form3(trigonometry) attach it self just like it happen when you change the view of win 7 calculator it expand and show other buttons and when click on standard view it show only basic buttons
how i can do that????
calculator.png
you can see that i attach scientific button to form1 but i want to but them into form2 and show them only when they needed
-
August 4th, 2014, 01:38 PM
#2
Re: how to show multiform calculator with fix size in c# winform?
You could put them into a FRAME and hide it when necessary http://msdn.microsoft.com/en-us/libr...(v=vs.90).aspx
-
August 5th, 2014, 11:30 AM
#3
Re: how to show multiform calculator with fix size in c# winform?
 Originally Posted by dglienna
can explain i dont understand the frame thing
-
August 6th, 2014, 12:32 AM
#4
Re: how to show multiform calculator with fix size in c# winform?
Put the buttons into one sub-frame, and you can place that INTO the bigger framer. Once you set it's size, you can HIDE the sub-form when you want the regular calc, and the SHOW it when it's not.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|