By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,889 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,889 IT Pros & Developers. It's quick & easy.

Recommendations for Outlook style interface

P: n/a
I am designing a Winforms app, using the NetAdvantage (Infragistics)
controls - which are very good.

How can I make multiple different contents in my content pane?? ie. In
Outlook, there is a content pane, which displays multiple different formats
(one for Calendar, one for Notes, one for Mail etc etc)

What is the best way to implement this using C# (possibly in the context of
the NetAdvantage controls)?

Should I code several panel controls, with different formats?
Or should this be coded to be constructed via code??

Is there any examples of doing this??

Thanks
Nov 16 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Paul,
I have not used NetAdvantage, however when I have needed to display
different formats (such as Calendar, Notes, Mail) I've created a user
control for each format, then either dynamically loaded each format or had
all the formats on the form & simply show or hide each format as needed.

Hope this helps
Jay

"Paul Aspinall" <pa**@aspy.co.uk> wrote in message
news:SN*******************@fe1.news.blueyonder.co. uk...
I am designing a Winforms app, using the NetAdvantage (Infragistics)
controls - which are very good.

How can I make multiple different contents in my content pane?? ie. In
Outlook, there is a content pane, which displays multiple different
formats (one for Calendar, one for Notes, one for Mail etc etc)

What is the best way to implement this using C# (possibly in the context
of the NetAdvantage controls)?

Should I code several panel controls, with different formats?
Or should this be coded to be constructed via code??

Is there any examples of doing this??

Thanks

Nov 16 '05 #2

P: n/a
www.divil.co.uk

James

--
Create interactive diagrams and flowcharts with ERM Diagram at
http://www.crainiate.net

Take the ERM Tour at http://www.flowchartcontrol.com

"Paul Aspinall" <pa**@aspy.co.uk> wrote in message
news:SN*******************@fe1.news.blueyonder.co. uk...
I am designing a Winforms app, using the NetAdvantage (Infragistics)
controls - which are very good.

How can I make multiple different contents in my content pane?? ie. In
Outlook, there is a content pane, which displays multiple different
formats (one for Calendar, one for Notes, one for Mail etc etc)

What is the best way to implement this using C# (possibly in the context
of the NetAdvantage controls)?

Should I code several panel controls, with different formats?
Or should this be coded to be constructed via code??

Is there any examples of doing this??

Thanks

Nov 16 '05 #3

P: n/a
Although I've not use the NetAdvantage controls I've been creating
applications like these for a little while.

The way I do it is like this:
* Create Form that will be used to display my controls in ( usually by
creating a Windows Application Project )
* Create a Panel on that form ( this will host the custom controls ),
and set-up the dock style or the align to properties.
* Create the custom control as either a UserControl, or a Form:
* To add these to the main app I do this in code:

This is only a very basic explanation, would need to be tidyed up.
public class Form1
{

public void ShowCustomUserControl_1()
{
MyCustomControl_1 myCC1 = new MyCustomControl_1();
myCC1.Dock = DockStyle.Fill; // This might be better in the My
CustomControl_1 contructor

this.myPanel.Controls.Clear();
this.myPanel.Controls.Add( myCC1 );
}
public void ShowCustomForm_1()
{
MyCustomForm_1 myCF1 = new MyCustomForm_1();
myCF1.TopLevel = false; // ESSENTIAL FOR FORMS!!!!!!!!!!
myCF1.Dock = DockStyle.Fill;

Although I've not use the NetAdvantage controls I've been creating
applications like these for a little while.

The way I do it is like this:
* Create Form that will be used to display my controls in ( usually by
creating a Windows Application Project )
* Create a Panel on that form ( this will host the custom controls ),
and set-up the dock style or the align to properties.
* Create the custom control as either a UserControl, or a Form:
* To add these to the main app I do this in code:

This is only a very basic explanation, would need to be tidyed up.
public class Form1
{

public void ShowCustomUserControl_1()
{
MyCustomControl_1 myCC1 = new MyCustomControl_1();
myCC1.Dock = DockStyle.Fill; // This might be better in the My
CustomControl_1 contructor

this.myPanel.Controls.Clear(); // May or may not be needed - not
sure on your implementation
this.myPanel.Controls.Add( myCC1 );
}
public void ShowCustomForm_1()
{
MyCustomForm_1 myCF1 = new MyCustomForm_1();
myCF1.TopLevel = false; // ESSENTIAL FOR FORMS!!!!!!!!!!
myCF1.Dock = DockStyle.Fill;

this.myPanel.Controls.Clear(); // May or may not be needed - not
sure on your implementation
this.myPanel.Controls.Add( myCF1 );
}
this.myPanel.Controls.Add( myCF1 );
}

Nov 16 '05 #4

P: n/a
You might want to post a message on the Infragistics' newsgroups. You can
also look at some of the samples, one in particular - the WinSchedule
Printing sample - recreates an Outlook style user interface that you might
want to look at. The contents are mdi child forms; the UltraTabbedMdiManager
is used to manage the form layout (in this case without showing any tabs so
that only 1 mdi child fills the available area) and this also takes
advantage of the automatic toolbar/menu merging of the UltraToolbarsManager
component.

"Paul Aspinall" <pa**@aspy.co.uk> wrote in message
news:SN*******************@fe1.news.blueyonder.co. uk...
I am designing a Winforms app, using the NetAdvantage (Infragistics)
controls - which are very good.

How can I make multiple different contents in my content pane?? ie. In
Outlook, there is a content pane, which displays multiple different
formats (one for Calendar, one for Notes, one for Mail etc etc)

What is the best way to implement this using C# (possibly in the context
of the NetAdvantage controls)?

Should I code several panel controls, with different formats?
Or should this be coded to be constructed via code??

Is there any examples of doing this??

Thanks

Nov 16 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.