Click here to Skip to main content
15,914,221 members
Home / Discussions / C#
   

C#

 
AnswerRe: Ribbon Control Pin
blackjack215011-Jun-07 22:41
blackjack215011-Jun-07 22:41 
AnswerRe: Ribbon Control [modified] Pin
Insincere Dave12-Jun-07 11:50
Insincere Dave12-Jun-07 11:50 
QuestionDefine and using Property Pin
Alireza383911-Jun-07 17:05
Alireza383911-Jun-07 17:05 
AnswerRe: Define and using Property Pin
kripzz11-Jun-07 17:07
kripzz11-Jun-07 17:07 
GeneralRe: Define and using Property Pin
Alireza383911-Jun-07 20:58
Alireza383911-Jun-07 20:58 
GeneralRe: Define and using Property Pin
kripzz11-Jun-07 21:08
kripzz11-Jun-07 21:08 
GeneralRe: Define and using Property Pin
Alireza383911-Jun-07 21:26
Alireza383911-Jun-07 21:26 
AnswerRe: Define and using Property Pin
Martin#11-Jun-07 21:44
Martin#11-Jun-07 21:44 
Hello,

My suggestions are:
Use the dynamic "System.Collection.Specialized.StringCollection" instead of fix string[].
For filling the ComboBox with values of you field, you should use a loop.
Hold the instance of your UserControl as a field member of the form and only hide it (Visible = faalse) if you don't need it.

Alireza3839 wrote:
The usercontrol appers,after pressing the button .Now I want to clear the contest in combobox in main form when press another key in usercontrol.

Your usercontrol should implement an event (delegate) which is called after you button was clicked.
Your form connects to this event and clears the combobox in the event handled code.

Hope it helps!

All the best,

Martin
GeneralC# Consultants needed in CA Pin
writesatish11-Jun-07 17:00
writesatish11-Jun-07 17:00 
GeneralRe: C# Consultants needed in CA Pin
sxbluebird11-Jun-07 18:06
sxbluebird11-Jun-07 18:06 
GeneralRe: C# Consultants needed in CA Pin
call_me_Cincin_please19-Jan-10 13:51
call_me_Cincin_please19-Jan-10 13:51 
GeneralRe: C# Consultants needed in CA Pin
Tarakeshwar Reddy12-Jun-07 3:03
professionalTarakeshwar Reddy12-Jun-07 3:03 
QuestionQuestions ive always wanted to ask. [modified] Pin
kripzz11-Jun-07 16:48
kripzz11-Jun-07 16:48 
AnswerRe: Questions ive always wanted to ask. Pin
Sathesh Sakthivel11-Jun-07 16:53
Sathesh Sakthivel11-Jun-07 16:53 
GeneralRe: Questions ive always wanted to ask. Pin
kripzz11-Jun-07 17:05
kripzz11-Jun-07 17:05 
GeneralRe: Questions ive always wanted to ask. Pin
Sathesh Sakthivel11-Jun-07 17:59
Sathesh Sakthivel11-Jun-07 17:59 
AnswerRe: Questions ive always wanted to ask. Pin
Christian Graus11-Jun-07 19:35
protectorChristian Graus11-Jun-07 19:35 
GeneralRe: Questions ive always wanted to ask. Pin
kripzz11-Jun-07 19:51
kripzz11-Jun-07 19:51 
GeneralRe: Questions ive always wanted to ask. Pin
Martin#11-Jun-07 20:07
Martin#11-Jun-07 20:07 
GeneralRe: Questions ive always wanted to ask. Pin
kripzz11-Jun-07 20:10
kripzz11-Jun-07 20:10 
GeneralRe: Questions ive always wanted to ask. Pin
Martin#11-Jun-07 20:11
Martin#11-Jun-07 20:11 
Questionaccess insert instruction problem Pin
dinosors11-Jun-07 15:24
dinosors11-Jun-07 15:24 
AnswerRe: access insert instruction problem [modified] Pin
Mark Greenwood11-Jun-07 15:49
Mark Greenwood11-Jun-07 15:49 
GeneralRe: access insert instruction problem Pin
dinosors11-Jun-07 15:58
dinosors11-Jun-07 15:58 
GeneralRe: access insert instruction problem Pin
Mark Greenwood11-Jun-07 15:59
Mark Greenwood11-Jun-07 15:59 

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.