Click here to Skip to main content
12,077,457 members (47,444 online)
   

C#

 
GeneralRe: [Help] C# .txt Pin
mumbot18-Nov-12 22:31
membermumbot18-Nov-12 22:31 
GeneralRe: [Help] C# .txt Pin
omisheikh18-Nov-12 22:40
memberomisheikh18-Nov-12 22:40 
GeneralRe: [Help] C# .txt Pin
mumbot18-Nov-12 23:15
membermumbot18-Nov-12 23:15 
GeneralRe: [Help] C# .txt Pin
Zac Greve18-Nov-12 23:32
memberZac Greve18-Nov-12 23:32 
GeneralRe: [Help] C# .txt Pin
omisheikh18-Nov-12 23:34
memberomisheikh18-Nov-12 23:34 
GeneralRe: [Help] C# .txt Pin
mumbot19-Nov-12 1:02
membermumbot19-Nov-12 1:02 
AnswerRe: [Help] C# .txt Pin
Mathlab19-Nov-12 8:54
memberMathlab19-Nov-12 8:54 
QuestionAnother conversion problem (Prism) Pin
Andy_L_J18-Nov-12 12:07
memberAndy_L_J18-Nov-12 12:07 
I am using Prism to handle IoC, I can do this in VB.NET:

Dim _regionManager As IRegion
Dim _container As IUnityContainer
...
 
Dim mainRegion As IRegion = _regionManager.Regions(RegionNames.MainRegion)
For Each v As View In mainRegion.Views
  mainRegion.Remove(v)
Next
_regionManager.RegisterViewWithRegion(RegionNames.MainRegion, GetType(MaterialView)

I am getting the following eror: non-invocable member ....Regions cannot be used as a method.
When I use this C# conversion:
IRegion mainRegion = _regionManager.Regions(RegionNames.MainRegion);
for each(var v in mainRegion.Views)
{
  mainRegion.Remove(v);
}
_regionManager.RegisterViewWithRegion(RegionNames.MainRegion, typeof(MaterialView));
Some hints as to why would be very helpfull.
I don't speak Idiot - please talk slowly and clearly

"I have sexdaily. I mean dyslexia. Fcuk!"

Driven to the arms of Heineken by the wife

AnswerRe: Another conversion problem (Prism) Pin
Pete O'Hanlon18-Nov-12 12:39
protectorPete O'Hanlon18-Nov-12 12:39 
GeneralRe: Another conversion problem (Prism) Pin
Andy_L_J18-Nov-12 12:47
memberAndy_L_J18-Nov-12 12:47 
QuestionSending bytes via internet? (info) Pin
clonze18-Nov-12 2:22
memberclonze18-Nov-12 2:22 
AnswerRe: Sending bytes via internet? (info) Pin
Eddy Vluggen18-Nov-12 2:50
memberEddy Vluggen18-Nov-12 2:50 
GeneralRe: Sending bytes via internet? (info) Pin
clonze18-Nov-12 4:54
memberclonze18-Nov-12 4:54 
GeneralRe: Sending bytes via internet? (info) Pin
Eddy Vluggen18-Nov-12 5:42
memberEddy Vluggen18-Nov-12 5:42 
QuestionConverting from VB.NET Pin
Andy_L_J17-Nov-12 22:39
memberAndy_L_J17-Nov-12 22:39 
AnswerRe: Converting from VB.NET Pin
DaveyM6917-Nov-12 23:23
mentorDaveyM6917-Nov-12 23:23 
GeneralRe: Converting from VB.NET Pin
Andy_L_J17-Nov-12 23:54
memberAndy_L_J17-Nov-12 23:54 
GeneralRe: Converting from VB.NET Pin
DaveyM6918-Nov-12 8:10
mentorDaveyM6918-Nov-12 8:10 
GeneralRe: Converting from VB.NET Pin
Andy_L_J18-Nov-12 12:12
memberAndy_L_J18-Nov-12 12:12 
Questionfiltering column value in DevExpress grid view Pin
eli1502197917-Nov-12 21:23
membereli1502197917-Nov-12 21:23 
AnswerRe: filtering column value in DevExpress grid view Pin
n.podbielski17-Nov-12 22:29
membern.podbielski17-Nov-12 22:29 
Questionhelp Pin
AMIR ESLAMI17-Nov-12 10:08
memberAMIR ESLAMI17-Nov-12 10:08 
AnswerRe: help Pin
Eddy Vluggen17-Nov-12 10:25
memberEddy Vluggen17-Nov-12 10:25 
AnswerRe: help Pin
Abhinav S18-Nov-12 21:58
mvpAbhinav S18-Nov-12 21:58 
QuestionAccess to created control Pin
KKW_acd17-Nov-12 6:18
memberKKW_acd17-Nov-12 6:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160212.1 | Last Updated 13 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid