Click here to Skip to main content
15,891,473 members
Home / Discussions / C#
   

C#

 
AnswerRe: Goostavo Problem solution Pin
J4amieC20-Mar-06 22:01
J4amieC20-Mar-06 22:01 
GeneralRe: Goostavo Problem solution Pin
Dan Neely21-Mar-06 1:56
Dan Neely21-Mar-06 1:56 
QuestionSource Code for stock chart Pin
Gilad Kapelushnik20-Mar-06 3:02
Gilad Kapelushnik20-Mar-06 3:02 
AnswerRe: Source Code for stock chart Pin
akki_00719-Mar-10 19:49
akki_00719-Mar-10 19:49 
Questionpassing multiple filenames from explorer to .net app Pin
..Hubert..20-Mar-06 2:10
..Hubert..20-Mar-06 2:10 
QuestionPlot Graph from Data in Excel Spreadsheet Pin
thebatch20-Mar-06 2:02
thebatch20-Mar-06 2:02 
AnswerRe: Plot Graph from Data in Excel Spreadsheet Pin
Ed.Poore20-Mar-06 5:50
Ed.Poore20-Mar-06 5:50 
QuestionMy user control (setting properties with my Properties window) Pin
conrado720-Mar-06 1:58
conrado720-Mar-06 1:58 
I`ve just written my own user control which is inherited from RichTextBox control. This control has it own property called RegularExpression.

private string regularExpression;<br />
<br />
[Category("Behavior")]<br />
		[Description("Wyrazenie regularne sprawdzające poprawność danych")]<br />
		public string RegularExpression<br />
		{<br />
			get<br />
			{<br />
				return regularExpression;<br />
			}<br />
			set<br />
			{<br />
				regularExpression = value;<br />
			}<br />
		}


With this property I set up the regular expression which validates my data in control.
My problem is that I want set up this property by clicking my control`s context menu (a new window form with textBox to set up regular expression in it) like in the picture:

Click here...

After clicking OK button I want to set up RegularExpression property with context in textBox. In main application in not a problem. The problem apprears when I want do this the way I,ve just described...

I can`t create reference:

private void okButton_Click(object sender, System.EventArgs e)   <br />
			ValidatingEditControl.KKEditControl.regularExpresson = this.regExpTextBox1.Text;<br />
		}


It dispays: "ValidatingEditControl.KKEditControl.regularExpresson is inaccesible due to its protectionlevel".

Can anyone help me with this?

-- modified at 8:21 Monday 20th March, 2006
AnswerRe: My user control (setting properties with my Properties window) Pin
darkelv20-Mar-06 5:23
darkelv20-Mar-06 5:23 
QuestionHow to underline/highlight particular text in a RichTextBox Pin
mwenda20-Mar-06 1:46
mwenda20-Mar-06 1:46 
AnswerRe: How to underline/highlight particular text in a RichTextBox Pin
Baeltazor21-Feb-10 21:06
Baeltazor21-Feb-10 21:06 
QuestionNeed licensing feature for C# .NET windows application Pin
geek-age20-Mar-06 1:41
geek-age20-Mar-06 1:41 
AnswerRe: Need licensing feature for C# .NET windows application Pin
Dominik Reichl20-Mar-06 2:56
Dominik Reichl20-Mar-06 2:56 
GeneralRe: Need licensing feature for C# .NET windows application Pin
geek-age20-Mar-06 17:02
geek-age20-Mar-06 17:02 
QuestionNon rectangular windows forms Pin
Amila Paththamperuma20-Mar-06 1:24
Amila Paththamperuma20-Mar-06 1:24 
AnswerRe: Non rectangular windows forms Pin
AB777120-Mar-06 2:16
AB777120-Mar-06 2:16 
GeneralRe: Non rectangular windows forms Pin
Amila Paththamperuma20-Mar-06 17:15
Amila Paththamperuma20-Mar-06 17:15 
GeneralRe: Non rectangular windows forms Pin
AB777120-Mar-06 17:52
AB777120-Mar-06 17:52 
AnswerRe: Non rectangular windows forms Pin
triton63022-Mar-06 8:03
triton63022-Mar-06 8:03 
GeneralRe: Non rectangular windows forms Pin
triton63022-Mar-06 8:24
triton63022-Mar-06 8:24 
Question* can be mapped to? Pin
V.20-Mar-06 1:05
professionalV.20-Mar-06 1:05 
AnswerRe: * can be mapped to? Pin
Andy Moore20-Mar-06 6:03
Andy Moore20-Mar-06 6:03 
GeneralRe: * can be mapped to? Pin
V.20-Mar-06 20:26
professionalV.20-Mar-06 20:26 
Questionhow to increase SerialPort Buffersize Pin
ASGuru20-Mar-06 1:05
ASGuru20-Mar-06 1:05 
AnswerRe: how to increase SerialPort Buffersize Pin
Ed.Poore20-Mar-06 6:00
Ed.Poore20-Mar-06 6:00 

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.