Good luck!
thompsons wrote:
I'm using a PXI chassis from National Instruments to capture data from several voltage/current sources and as well as getting scope captures via a USB port from a Tektronix scope.
Please don't ask me anything about that part, way out of my depth!
thompsons wrote:
I don't see many comments on the Web or MicroSoft on how to show forms in a panel control. Could be, I'm trying something that has potential problems that are not documented anywhere
There are several examples of this here on CP, if you search the articles/messages. The only thing that strikes me about it is a matter of personal preference. I would set the FormBorderStyle property to None, but that's just my preference and has nothing to do with your problem. At the end of the day Form is a descendant of Control and therefore should act like any other control. Here is a snippet from one of my apps:
private void btnForm\_Click(object sender, EventArgs e)
{
Form newForm = new Form();
newForm.TopLevel = false;
newForm.Parent = this;
newForm.Visible = true;
newForm.Location = new Point(10, 10);
newForm.Size = new Size(this.ClientSize.Width - 20, this.ClientSize.Height - this.panel1.Height - 20);
newForm.BackColor = Color.Bisque;
newForm.FormBorderStyle = FormBorderStyle.None;
newForm.Dock = DockStyle.Left;
this.Controls.Add(newForm);
}
The only difference between yours and mine is that I add it directly to the parent form, you add it to a panel.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”