C#
wpf data binding to enable control based on multiple criteria
I\'ve searched around, but don\'t think I really found an answer.I\'m trying to get a handle more on d开发者_如何学编程ata binding and starting to see things coming together.Can you do data binding to[详细]
2023-04-13 07:52 分类:问答Pass additional parameters or objects using an Event Handler [duplicate]
This question already has answers here: Pass extra parameters to an event handler? (10 answers) Closed 8 years ago.[详细]
2023-04-13 07:50 分类:问答Find Item With Max Value Less Than Another Value
I have an objec开发者_如何转开发t with two doubles: class SurveyData(){ double md; double tvd; } I have a list of these values that is already sorted ascending. I would like to find and return the i[详细]
2023-04-13 07:49 分类:问答Getting the average of observable collection element data
I have an observablecollection containing 60 elements, each containing data of numbers(double). I would like to get the average of the 60 elements( (total sum of 60 elements)/60). Any idea how I can g[详细]
2023-04-13 07:48 分类:问答How can i get the value of a datagrid cell on the dataGrid1_BeginningEdit Event?
I\'m trying to check if the value of a datagrid cell is null when i use the dataGrid1_BeginningEdit Event to stop the event.[详细]
2023-04-13 07:47 分类:问答How do I prevent InvalidOperationException saving a cyclic graph of entities?
Given the entities, class A { B DefaultB { get; set; } C DefaultC { get; set; } } class B { A { get; set; }[详细]
2023-04-13 07:47 分类:问答How can I implement peer to peer communication with .NET 1.1?
The project I am working on is running on Windows NT and Windows XP machines so I can only use .NET 1.1 until we are able to upgrade operating systems. The software is distributed on a network of comp[详细]
2023-04-13 07:46 分类:问答Issue with variable nested dependencies
In this case an example is worth a thousand words: interface IProvider { } class DefaultProvider : IProvider {[详细]
2023-04-13 07:43 分类:问答Databinding C# issue with setting and retaining data in the databind
I have a databound textbox. When I change the text via the text Property it automatically updates the textbox but when closing out of the window and relaunching the databinding goes back to the old da[详细]
2023-04-13 07:41 分类:问答user authentication withn OU using LDAP
I am trying to authenticate user using LDAP I am using this code: public bool IsAuthenticated(string domain, string username, string pwd)[详细]
2023-04-13 07:40 分类:问答