1 Attachment(s)
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????
Attachment 32841
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
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
Re: how to show multiform calculator with fix size in c# winform?
Quote:
Originally Posted by
dglienna
can explain i dont understand the frame thing
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.