Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
AnswerRe: Drawing on a form Pin
Christian Graus11-Dec-05 14:28
protectorChristian Graus11-Dec-05 14:28 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:02
monrobot1311-Dec-05 15:02 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:04
protectorChristian Graus11-Dec-05 15:04 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:10
monrobot1311-Dec-05 15:10 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:13
protectorChristian Graus11-Dec-05 15:13 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:20
monrobot1311-Dec-05 15:20 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:24
protectorChristian Graus11-Dec-05 15:24 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:32
monrobot1311-Dec-05 15:32 
I just did a test to see if the control was being added to the TabPage controls collection, but it doesn't appear as though it's being added because the returned controls collection is empty. Here's all the code I'm using (it's in the OnLoad event of my Form, I don't know if that makes a difference)
private void PdsPad_Load (object sender, EventArgs e)
{
    PdsPage testPage = new PdsPage (DateTime.Now);
    testPage.Anchor = (AnchorStyles.Left | AnchorStyles.Top);
    testPage.Visible = true;
    PdsContainer.TabPages.Add ("Page1", testPage.Title);
    PdsContainer.TabPages[0].Controls.Add (testPage);
    Control[] ctrls = PdsContainer.TabPages[0].Controls.Find ("PdsPage", true);
    foreach (Control ctrl in ctrls)
    {
        MessageBox.Show (ctrl.ToString ());
    }
    Form testForm = new Form ();
    testForm.Controls.Add (testPage);
    testForm.Show ();
}
It's not being added to the testForm either. Do you see anything that's amiss?

Thanks for taking the time to help me on this.

- Aaron
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:37
protectorChristian Graus11-Dec-05 15:37 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:45
monrobot1311-Dec-05 15:45 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:48
protectorChristian Graus11-Dec-05 15:48 
GeneralRe: Drawing on a form Pin
monrobot1311-Dec-05 15:54
monrobot1311-Dec-05 15:54 
GeneralRe: Drawing on a form Pin
Christian Graus11-Dec-05 15:58
protectorChristian Graus11-Dec-05 15:58 
QuestionWindows CE.Net 4.2 Pin
ayuba asia11-Dec-05 12:56
ayuba asia11-Dec-05 12:56 
QuestionPlay mp3 on Pocket PC using C# Pin
parispo911-Dec-05 12:08
parispo911-Dec-05 12:08 
QuestionModify a form's control properties from a class Pin
carlossan11-Dec-05 11:03
carlossan11-Dec-05 11:03 
AnswerRe: Modify a form's control properties from a class Pin
Curtis Schlak.11-Dec-05 11:50
Curtis Schlak.11-Dec-05 11:50 
QuestionHow to merge two datasets? Pin
Lexa198311-Dec-05 8:28
Lexa198311-Dec-05 8:28 
AnswerRe: How to merge two datasets? Pin
Guffa11-Dec-05 9:58
Guffa11-Dec-05 9:58 
AnswerRe: How to merge two datasets? Pin
ayuba asia11-Dec-05 12:58
ayuba asia11-Dec-05 12:58 
AnswerRe: How to merge two datasets? Pin
Ista11-Dec-05 14:15
Ista11-Dec-05 14:15 
QuestionHTML DOM tree Retreive Pin
dr_hema11-Dec-05 3:45
dr_hema11-Dec-05 3:45 
AnswerRe: HTML DOM tree Retreive Pin
Judah Gabriel Himango11-Dec-05 6:56
sponsorJudah Gabriel Himango11-Dec-05 6:56 
Questionactive ownedform &arranging ownedform Pin
tonato84811-Dec-05 1:35
tonato84811-Dec-05 1:35 
AnswerRe: active ownedform &arranging ownedform Pin
Judah Gabriel Himango11-Dec-05 6:59
sponsorJudah Gabriel Himango11-Dec-05 6:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.