how to set a button for my customize property in design time in vb.net ?

Following is my own customize property.
   Dim MySet As String
    Public Property Mysetting() As String
        Get
            Return MySet
        End Get
        Set(ByVal value As String)
            MySet = value
        End Set
    End Property
In above f4 property, I want to set a  button like button1.backgroundImage.
when I click that button, my own customize form  "MyCustomSettings.vb"  should display in design time.

what is the code ?
tamilsoftAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Luis PérezSoftware Architect in .NetCommented:
Here's all the information that you need. Take a look at the UITypeEditors part.

http://msdn.microsoft.com/en-us/magazine/cc164145.aspx

Hope that helps.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tamilsoftAuthor Commented:
no one reaction found for above UITypeEditors  coding.
I dont understand.

  Dim MySet As String
    Public Property Mysetting() As String
        Get
            Return MySet
        End Get
        Set(ByVal value As String)
            MySet = value
        End Set
    End Property
how to set a button in value place of  "MySettings"  property  like button1.backgroundImage , button1.font.
how to write  the code  "FormMySet.show" into button click event ?

anybody tell me . what is the code  above my purpose in vb.net ?
if I understand basic coding , classes and using steps , I will develop my extra developing  purpose.
 

 

tamilsoftAuthor Commented:
please tell anybody what is the code? .
how to set  the button on  value place of my own user defined  f4 property.
 
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Bob LearnedCommented:
Implementing the base UITypeEditor class is pretty complex, so I can understand why you are confused.  There are different approaches to get what you need, but the UITypeEditor gives you the ability to define a custom editor screen for a property in the PropertyGrid, as shown in this example:

cc164145.fig14-en-us-.gif

There are a lot of moving parts to this, so just showing you some code won't be very helpful.  Creating this for yourself, with guidance, is a better approach (IMHO).
tamilsoftAuthor Commented:
expert mister "TheLearnedOne"

"Implementing the base UITypeEditor class is pretty complex, so I can understand why you are confused.  There are different
approaches to get what you need, but the UITypeEditor gives you the ability to define a custom editor screen for a property
in the PropertyGrid, as shown in this example:
There are a lot of moving parts to this, so just showing you some code won't be very helpful.  Creating this for yourself,
with guidance, is a better approach (IMHO)."

I accept and understand all of your opinion.
but
my requirement of necessary is  
1) setting the button on value place of my custom property.
2) if I click that button , Form named Mysetting.show should run.

these 2 requirement is most requirement for current software processing work.  
 
according your answer "
"There are a lot of moving parts to this" .

there are lot of moving parts will take long time to develop all custom ways.
I have stopped my work past one week without knowing applying button on value place of my custom property.

I will develop  these "lot of moving parts" within few weeks to develop all requirement and type of  custom property work.  

These all custom ways irritates me for my single requirement.
I want options only for my current requirement.
all approaches that is not fulfill my particular one requirement is waste in my current software processing work.
 I need exact solution for current requirement.
I can not stop my software developing work untill knowing and becoming wealth of all custom property ways.
please understand what I require for my software work.
if I know necessary requirement of  my current software work, I will have completed all of custom property work.
I can not delay hereafter.
please fulfill my requirement ?
Bob LearnedCommented:
That sounds like a challenge that I am not willing to take.  I don't have the luxury of devoting the time that you will need to satisfy your requirement.  I hope you the best of luck in your search.
tamilsoftAuthor Commented:
after a few struggle ,  I could understand.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.