Click here to Skip to main content
15,913,141 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to use splitter control ? Pin
Steve Echols3-Jul-07 16:54
Steve Echols3-Jul-07 16:54 
AnswerRe: how to use splitter control ? Pin
PeteMcNamee4-Jul-07 17:27
PeteMcNamee4-Jul-07 17:27 
QuestionReading Contents from remote folder Pin
mfmaneef3-Jul-07 9:39
mfmaneef3-Jul-07 9:39 
Questioninserting xml fragment in an xml element Pin
goresus3-Jul-07 9:09
goresus3-Jul-07 9:09 
AnswerRe: inserting xml fragment in an xml element Pin
Abisodun3-Jul-07 9:47
Abisodun3-Jul-07 9:47 
GeneralRe: inserting xml fragment in an xml element Pin
goresus3-Jul-07 10:27
goresus3-Jul-07 10:27 
GeneralRe: inserting xml fragment in an xml element Pin
Abisodun3-Jul-07 11:36
Abisodun3-Jul-07 11:36 
QuestionUsing a propertyGrid control Pin
gapfulgence3-Jul-07 8:46
gapfulgence3-Jul-07 8:46 
Hi,

I'm struggling with a property grid control.
Here is what I do:

- I display properties associated to a specific object in the property view.
- For each property, I use a specific editor and allows value to be changed in another form. Each property has access to a specific editor which inherits from 'UITypeEditor'.
- In the EditValue method of my editor, I call my form using the 'ShowDialog' method.
Here is the beginning of my EditValue method:

 public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)<br />
        {<br />
            string startingPropertyValue = null;    // The value that the property had before we display the modal form.<br />
            PropertySpec currentPropertySpec = null;<br />
<br />
            if (context != null && context.Instance != null && provider != null) <br />
            //if (provider != null)<br />
            {<br />
                editorService = provider.GetService(typeof(IWindowsFormsEditorService)) as IWindowsFormsEditorService;<br />
            }



My problem is that I'm not able to retrieve the values selected in my second form and display them for each selected property.

Can you help me please ?

Thanks.

Pat.

p.f. Goudjo-Ako

Bringing our energy together !

QuestionHow to create many Gridviews Bind to a dataset Dynamically on run time. [modified] Pin
kibromg3-Jul-07 8:36
kibromg3-Jul-07 8:36 
QuestionConverting a variable to a method so it can be run (somewhat like Eval could do). Pin
Azad Giordano Ratzki3-Jul-07 7:09
professionalAzad Giordano Ratzki3-Jul-07 7:09 
AnswerRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Le centriste3-Jul-07 7:13
Le centriste3-Jul-07 7:13 
AnswerRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Dario Solera3-Jul-07 7:20
Dario Solera3-Jul-07 7:20 
GeneralRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Azad Giordano Ratzki3-Jul-07 7:52
professionalAzad Giordano Ratzki3-Jul-07 7:52 
GeneralRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Le centriste4-Jul-07 2:09
Le centriste4-Jul-07 2:09 
GeneralRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Dario Solera4-Jul-07 2:51
Dario Solera4-Jul-07 2:51 
GeneralRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Le centriste4-Jul-07 3:29
Le centriste4-Jul-07 3:29 
AnswerRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Azad Giordano Ratzki3-Jul-07 7:47
professionalAzad Giordano Ratzki3-Jul-07 7:47 
QuestionUsing a 2D array as a DataSource Pin
Dewald3-Jul-07 6:54
Dewald3-Jul-07 6:54 
AnswerRe: Using a 2D array as a DataSource Pin
AdRoGe3-Jul-07 7:38
AdRoGe3-Jul-07 7:38 
Questionconnecting to sql questions Pin
crash8933-Jul-07 6:14
crash8933-Jul-07 6:14 
AnswerRe: connecting to sql questions Pin
Le centriste3-Jul-07 7:15
Le centriste3-Jul-07 7:15 
AnswerRe: connecting to sql questions Pin
mfmaneef3-Jul-07 9:53
mfmaneef3-Jul-07 9:53 
QuestionProblem with 2 forms Pin
mcaos3-Jul-07 6:09
professionalmcaos3-Jul-07 6:09 
AnswerRe: Problem with 2 forms Pin
Luc Pattyn3-Jul-07 6:30
sitebuilderLuc Pattyn3-Jul-07 6:30 
GeneralRe: Problem with 2 forms Pin
mcaos4-Jul-07 0:16
professionalmcaos4-Jul-07 0:16 

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.