VS 2005 Question
-
Hi I got a problem with VS 2005. In VS 2003 there was a ContextMenu with MenuItems. I got the following function in VS 2003. private void menuItem1_Select(object sender, System.EventArgs e) { DataRowView dv =(DataRowView)this.listBox1.SelectedItem; this.menuItem2.Text = dv["Beschreibung"].ToString(); } In VS 2005 there is no eventHandler like menuItem1_Select. I miss that EventHandler. How can I get a text on a new toolstrip when it's selected? Regards
-
Hi I got a problem with VS 2005. In VS 2003 there was a ContextMenu with MenuItems. I got the following function in VS 2003. private void menuItem1_Select(object sender, System.EventArgs e) { DataRowView dv =(DataRowView)this.listBox1.SelectedItem; this.menuItem2.Text = dv["Beschreibung"].ToString(); } In VS 2005 there is no eventHandler like menuItem1_Select. I miss that EventHandler. How can I get a text on a new toolstrip when it's selected? Regards
realmontanakid wrote: n VS 2005 there is no eventHandler like menuItem1_Select. I miss that EventHandler. Could the .Click or .CheckChanged handlers work instead?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Lies of Our Fathers: A Must-Know About Lent Judah Himango