csharp.livejournal.com
Intro For a long time I was wandering how easy and comfortable to…: csharp
http://csharp.livejournal.com/106206.html
For a long time I was wandering how easy and comfortable to work with smart tags. Actually I didn’t knew how it was called officially, but anyway I thought (and still think) that this feature is awesome! I found articles, books; I performed several tests and finally made what I want. And you know, it’s really helps me with development! Time saving in action! Now I’d like to share how to make it from the very beginning. For all described actions below I used VS2008, ReSharper5. What is smart tag? Also, in...
csharp.livejournal.com
I'm having trouble populating a DataGridView from a Linq query.…: csharp
http://csharp.livejournal.com/104240.html
I'm having trouble populating a DataGridView from a Linq query. I have:. Var absenceQuery = from absence in currentYear.Absences select new {Start=absence.StartDate, End=absence.EndDate};. BindingSource1.DataSource = absenceQuery;. I've checked that the Linq query is producing the entries I want, the DataSource for my DataGridView is set to bindingSource1, but the DataGridView comes out blank. What am I missing? Post a new comment. We will log you in after post. We will log you in after post.
csharp.livejournal.com
IIS Application config wildcards: csharp
http://csharp.livejournal.com/103725.html
IIS Application config wildcards. Cross posted to a few communities. Post a new comment. We will log you in after post. We will log you in after post. We will log you in after post. We will log you in after post. We will log you in after post. Post a new comment. Post a new comment. Follow us on Facebook. Follow us on Twitter. 1999 LiveJournal, Inc.
csharp.livejournal.com
Application stops owing to callback from unmanaged DLL: csharp
http://csharp.livejournal.com/105163.html
Другой такой же (. Application stops owing to callback from unmanaged DLL. Why does my c# application stop after receiving a callback from unmanaged DLL? I've just encountered this very strange problem. And wonder why it could happen. The similar situation is described by someone on MSDN-site. Http:/ social.msdn.microsoft.com/Fo. But nobody there brought a clear explanation of that yet. This little article described how to deal with callbacks from unmanaged code. Post a new comment. Post a new comment.
csharp.livejournal.com
NMock2 question: csharp
http://csharp.livejournal.com/105589.html
Is it possible in NMock2 to expect one of two different methods, A() or B(), on a mock to be called? If there was a way to check how many times a given method had already been called, I could just. Expect.Once.On.(myMock).Method("A");. Expect.Once.On.(myMock).Method("B");. Post a new comment. We will log you in after post. We will log you in after post. We will log you in after post. We will log you in after post. We will log you in after post. Post a new comment. Post a new comment. Follow us on Facebook.
csharp.livejournal.com
Нужна помощь с DevExpress GridControl: csharp
http://csharp.livejournal.com/105374.html
Нужна помощь с DevExpress GridControl. Работал ли кто-нибудь с GridControl.AdvBandedGridView? Мне нужно, чтобы в band я мог поместить другой band на один уровень с column. А компонент позволяет в band'е держать или другие band'ы или column'ы, но не то и другое одновременно. Подскажите, как можно обойти это или же сделать визуальную симуляцию такого размещения band и column? Post a new comment. We will log you in after post. We will log you in after post. We will log you in after post. Post a new comment.
csharp.livejournal.com
Application.Exit() not exiting!: csharp
http://csharp.livejournal.com/104596.html
Application.Exit() not exiting! I have the following:. If (userDlg.ShowDialog(this) = DialogResult.Cancel). But when I run the code, the application is not exiting when I click the cancel button on the userDlg dialog. Stepping through in the debugger it's hitting the Application.Exit(); line ok, but just carrying on! So how can I get the program to terminate (neatly! Thanks in advance,. Post a new comment. We will log you in after post. We will log you in after post. We will log you in after post.
csharp.livejournal.com
NMock2 question: csharp
http://csharp.livejournal.com/104068.html
Is there a way to change what a mock returns from its faked methods or properies after it has been initialised? For instance if I am testing myContainer to see if it supports repeated attempts to Add the same Foo instance regardless of the value of the Foo's boolean Bar property I want to do something like. MyMockery = new Mockery();. MyFoo = myMockery.NewMock. MyCollection.Add( myFoo );. MyCollection.Add( myFoo );. Assert something about myCollection. Post a new comment. We will log you in after post.
csharp.livejournal.com
LINQ beginner: csharp
http://csharp.livejournal.com/105845.html
I have a pair of LINQ "group" statements, each outputs a. IEnumerable IGrouping bool,int. Call these results a and b. I want to create four collections of ints, The ones that correspond to "a.Key & b.Key", "a.Key &! AKey & b.Key", "! I can convert a and b to Dictionaries with the ToDictionary extension method and have code like. Var foo = from aa in aMap[true] join bb in bMap[true] on aa equals bb select aa;. Post a new comment. We will log you in after post. We will log you in after post.
SOCIAL ENGAGEMENT