Hi All,
I have searched the forum on this and did find one topic that did not help me get to where I want to go, provided I can actually get there.
Firstly if this is not a good idea for some reason, performance mainly, please let me know.
I have my main form with an action list on the left and a PanelManager on the right hand side and I want to be able to create PanelManagerPages as "usercontrols" and add them to the PanelManager when they are first called from the main form. From then on the pages remain in the PanelManager and I can just swap between them.
I have created a usercontrol and altered the code to:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
namespace FitTrack.UI.WinForms.Controls
{
public partial class UserControl1 : MicroFour.StrataFrame.UI.Windows.Forms.PanelManagerPage
{
public UserControl1()
{
InitializeComponent();
}
}
}
but in the designer I lose the ability to visually create the control and just have the text:
"To add components to your class, drag the from the Toolbox and use the Properties window to set there properties. To create methods and events for your class, click here to switch to code view."
If this is possible, or if it can't be done and there is a way of accomplishing this another way, then any help is appreciated.
Cheers,
Keith Gordijn