Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
koikoi sige
|
Dec 3, 2009 - 6:24 AM
|
Hi.
I change theme,but getting ArgumentException:
Visual Studio 2005.C# Elegant Ribbon v3.3.0
Create VS2005 Project. Add Form1 and Form2 Add button1 on the Form1 Add ribbon1 and comboBox1 on the Form2.
a part of source code of Form1
private void button1_Click(object sender, EventArgs e) { Form2 form2 = new Form2(); form2.Show(); }
a part of source code of Form2
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { switch (comboBox1.SelectedIndex) { case 0: SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2007Blue, Product.Ribbon); break; case 1: SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2007Black, Product.Ribbon); break; case 2: SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2007Silver, Product.Ribbon); break; } }
Run and push the button1 to show the form2. Close the form2. Push the button1 again and select list of comboBox1 to change theme.
Result: Error was displayed , saying that "ArgumentException".
Can I change theme of re-display ribbon form?
Thanks.
|
|
koikoi sige
|
Dec 3, 2009 - 6:50 PM
|
Yes.The exception message is ’child’ is not a child control of this parent." Thanks.
|
|
Technical Support
|
Dec 3, 2009 - 7:19 AM
|
We successfully reproduced the bug. Could you confirm that the exception message is "’child’ is not a child control of this parent."? If it is we fixed it, the fix will be available in the upcoming release.
Thank you.
|
|