It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I already have the drag and drop working well. I just need to know is there a way to identify which listbox the dragged item is from?.
Thanks,
Try using this, i don't think is the best solution but it should work
foreach (ListBox _LB in this.Controls.OfType<ListBox>())
{
if(_LB.Items.Contains(listBox1.SelectedItem))
{
MessageBox.Show(_LB.Name);
}
}
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was wondering how to do this. I am trying to learn how to make a Metro-style app for Windows Store.
Attach an Click event to the source button
In event handler mark `button2.Visibility = Visibility.Visible;'
As simple as that.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Hey guys, can anyone tell me about Treeview in C# 2008. How to bind it with an Sql Database?
Check this Example and this downloadble one with Databinding
Tree View MSDN article: http://msdn.microsoft.com/en-us/library/d4fz6xk2%28v=vs.80%29.aspx
this is a tree example but databinding with Access.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I am fetching data from database and i am showing it in multiple select box but i want to show location 1,3,5 items should be selected by default. How?
Bind the Listbox to the datasource. A google search will probably be helpful.
If you mean "how do I select specific items", then this so question will help.
In WPF, you can use the ListBox control.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
http://www.gutgames.com/post/Adjusting-Brightness-of-an-Image-in-C.aspx
Can anybody help me please?
The graphics class does not work in WPF
It doesn't need to be changed. Use an Image element, set the source in code to the resulting bitmap type.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Hai,
Am using DevExpress Tree List in C#.NET application .I want to add checkbox control in DevExpress XtraTree List.Please help
Thank you.
You should set the column's ColumnEdit property to an instance of the RepositoryItemCheckEdit class. For more details, please refer to
http://documentation.devexpress.com/#WindowsForms/CustomDocument5632
http://documentation.devexpress.com/#WindowsForms/CustomDocument5633