Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > General Discussions > Convert Winform to Radform and use of radribbonbar mainform

Answered Convert Winform to Radform and use of radribbonbar mainform

Feed from this thread
  • Ludovic avatar

    Posted on Jan 9, 2012 (permalink)

    Hello everyone,

    We are willing to update an application we started to develop since a few months with the Telerik components. I was wondering if there is a simple way to convert all the Winforms (about 100 of them) into Radforms easily?

    I have also another question:
    Once I convert all my winforms into radforms. I would like to display the forms inside the mainform with radribbonbar according on which button in the radribbonbar the user clicks. I found a solution: add a panel into the mainform. On each radform, below all the components there will be another panel which will be added or removed from the panel in the mainform according to what is needed. Do you think it's the best solution? Do you have any other solution?

    I could not find much information about the radform in the documentation... that's why I am asking on the forum.

    Thank you.
    LB.

    Reply

  • Answer Stefan Stefan admin's avatar

    Posted on Jan 11, 2012 (permalink)

    Hello Ludovic,

    Thank you for writing.

    If you are talking only about converting Forms to RadForms, this will be as easy as changing the name your form descends from i.e Form is replaced by RadForm. However, if you are talking about changing all your application controls from the standard Microsoft controls to RadControls for WinForms, such a conversion should be done manually for each control. We are trying to keep our API as close as possible to Microsoft's API in order to make such a transition easier.

    In regards to the second question, I am not quite sure that I can fully understand your current approach, however, I will suggest to use for a main form RadRibbonForm (since you want a ribbon on the main form) and then, add your child forms as MDI children. Attached to this post you can find a demo of this approach.

    I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
     
    Regards,
    Stefan
    the Telerik team

    SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

    Attached files

    Reply

  • Ludovic avatar

    Posted on Jan 11, 2012 (permalink)

    Hello Stefan,

    I was thinking updating all the WinControls to RadControls in all the WinForms while converting them to RadForms. I will just do it manually as you said.

    Yes, we are using a RibbonBarForm as mainform. Thank you for the MDI children idea. I did not know how to do this before. That's exactly what I was looking for. It works perfectly.

    Have a good day! :)
    LB

    Reply

  • Stefan Stefan admin's avatar

    Posted on Jan 16, 2012 (permalink)

    I am glad that I could help. If you have any questions, during the transition process, do not hesitate to contact us.

    All the best,

    Stefan
    the Telerik team

    SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > General Discussions > Convert Winform to Radform and use of radribbonbar mainform
Related resources for "Convert Winform to Radform and use of radribbonbar mainform"

Features  |  Demos  |  Documentation  |  Telerik TV  |  Knowledge Base  |  Code Library  |  Step-by-step Tutorial  |  Blogs   |  Self-Paced Trainer  ]