Click here to Skip to main content
15,895,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: read Excel-Table in Datagrid with ASP.NET Pin
surfman1911-Sep-05 12:13
surfman1911-Sep-05 12:13 
GeneralRe: read Excel-Table in Datagrid with ASP.NET Pin
Guffa11-Sep-05 20:47
Guffa11-Sep-05 20:47 
Questionmutlitiple user application Pin
Mohammed Halabi11-Sep-05 2:52
Mohammed Halabi11-Sep-05 2:52 
GeneralRe: mutlitiple user application Pin
Guffa11-Sep-05 3:07
Guffa11-Sep-05 3:07 
GeneralRe: mutlitiple user application Pin
Mohammed Halabi11-Sep-05 17:10
Mohammed Halabi11-Sep-05 17:10 
AnswerRe: mutlitiple user application Pin
Anonymous11-Sep-05 10:01
Anonymous11-Sep-05 10:01 
AnswerRe: mutlitiple user application Pin
Mohammed Halabi12-Sep-05 5:50
Mohammed Halabi12-Sep-05 5:50 
Questioncustom draw TextBox Pin
g00fyman11-Sep-05 2:42
g00fyman11-Sep-05 2:42 
hi to all,

can someone point me in the right direction as to how i go about customizing a TextBox so that it looks like a .NET IDE editor, that is i want to draw a coloured column down left side for line numbers and possible have line folding as well

have googled but nor really comne up with anything specific, only on how to custom draw a control.
i tried this just to see if i could get a column but i got nothing

<br />
public class EditorPane : TextBox<br />
	{<br />
		public EditorPane()<br />
		{			<br />
      this.Multiline = true;<br />
      this.Size = new Size(300, 300);<br />
		}<br />
    <br />
    protected override void OnPaint(PaintEventArgs pe)<br />
<br />
    {<br />
      pe.Graphics.FillRectangle(Brushes.Gray, this.Location.X, this.Location.Y, 35, this.ClientSize.Height);<br />
      base.OnPaint (pe);<br />
    }<br />
	}<br />



kind regards,
g00fy
AnswerRe: custom draw TextBox Pin
Mohamad Al Husseiny11-Sep-05 9:00
Mohamad Al Husseiny11-Sep-05 9:00 
GeneralRe: custom draw TextBox Pin
g00fyman11-Sep-05 13:49
g00fyman11-Sep-05 13:49 
GeneralRe: custom draw TextBox Pin
Mohamad Al Husseiny11-Sep-05 14:34
Mohamad Al Husseiny11-Sep-05 14:34 
GeneralRe: custom draw TextBox Pin
g00fyman11-Sep-05 14:38
g00fyman11-Sep-05 14:38 
QuestionCheck if System Time has changed (by user) Pin
gnjunge11-Sep-05 1:38
gnjunge11-Sep-05 1:38 
AnswerRe: Check if System Time has changed (by user) Pin
Dave Kreskowiak11-Sep-05 7:21
mveDave Kreskowiak11-Sep-05 7:21 
GeneralRe: Check if System Time has changed (by user) Pin
gnjunge12-Sep-05 1:17
gnjunge12-Sep-05 1:17 
GeneralRe: Check if System Time has changed (by user) Pin
Dave Kreskowiak12-Sep-05 1:32
mveDave Kreskowiak12-Sep-05 1:32 
GeneralRe: Check if System Time has changed (by user) Pin
gnjunge12-Sep-05 2:25
gnjunge12-Sep-05 2:25 
Question2 VS UI Q's: Reorder Funcs and Collapse funcs Pin
Niklas Ulvinge11-Sep-05 1:32
Niklas Ulvinge11-Sep-05 1:32 
QuestionHooking 456 port Pin
akshayswaroop11-Sep-05 1:30
akshayswaroop11-Sep-05 1:30 
AnswerRe: Hooking 456 port Pin
KaptinKrunch12-Sep-05 9:33
KaptinKrunch12-Sep-05 9:33 
GeneralRe: Hooking 456 port Pin
Anonymous12-Sep-05 18:53
Anonymous12-Sep-05 18:53 
QuestionDefault Printer Pin
teeka11-Sep-05 1:08
teeka11-Sep-05 1:08 
AnswerRe: Default Printer Pin
Mohamad Al Husseiny11-Sep-05 8:37
Mohamad Al Husseiny11-Sep-05 8:37 
QuestionDockable interface Pin
rmedo11-Sep-05 0:41
rmedo11-Sep-05 0:41 
AnswerRe: Dockable interface Pin
S. Senthil Kumar11-Sep-05 2:51
S. Senthil Kumar11-Sep-05 2:51 

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.