Click here to Skip to main content
15,920,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: Methods and Calling Methods Pin
chris.hagelstein5-Apr-10 8:07
chris.hagelstein5-Apr-10 8:07 
QuestionAccessing dbf database tables instead of database Pin
kalyan_24169-Feb-07 19:36
kalyan_24169-Feb-07 19:36 
QuestionResponse.Redirect Failedon login Pin
dabuskol9-Feb-07 18:14
dabuskol9-Feb-07 18:14 
QuestionException has been thrown by the target of an invocation Pin
Kasic Slobodan9-Feb-07 16:44
Kasic Slobodan9-Feb-07 16:44 
AnswerRe: Exception has been thrown by the target of an invocation Pin
Stefan Troschuetz9-Feb-07 21:35
Stefan Troschuetz9-Feb-07 21:35 
GeneralRe: Exception has been thrown by the target of an invocation Pin
Kasic Slobodan11-Feb-07 5:30
Kasic Slobodan11-Feb-07 5:30 
QuestionHow do I Index into a grid view while typing string? Pin
Edwin Smith9-Feb-07 16:12
Edwin Smith9-Feb-07 16:12 
QuestionGripStyle Pin
max292979-Feb-07 15:32
max292979-Feb-07 15:32 
I am making a window for editing text in a textbox control, but I am having a problem... Here are pictures of my window before and after resizing: Image[^] As you can see, the SizeGripStyle object goes underneath the text box. This is how I am coding my window:

<br />
class FileWindow : Form {<br />
	TextBox test;<br />
	<br />
	public FileWindow() {<br />
		test = new TextBox();<br />
		test.Multiline = true;<br />
		test.WordWrap = false;<br />
		test.ScrollBars = ScrollBars.Both;<br />
		test.Location = new Point(0, 0);<br />
		test.Size = new Size(this.Width-8, this.Height-33);<br />
		test.Font = new Font("Courier New", 10);<br />
		<br />
		this.Controls.Add(test);<br />
		this.Resize += new EventHandler(ResizeTextBox);<br />
		this.SizeGripStyle = SizeGripStyle.Show;<br />
	}<br />
	<br />
	public void ResizeTextBox(object sender, EventArgs e) {<br />
		test.Size = new Size(this.Width-10, this.Height-35);<br />
	}<br />
}<br />

(Sorry for having a whole bunch of code; I figured any of it might have been the problem)

Any ideas on why my window is doing this?

-----
Note: *** Never give me an answer have anything to do with Visual Studio. I don't have this program, and it'll be that way for a long, long time. ***

AnswerRe: GripStyle Pin
PIEBALDconsult9-Feb-07 17:00
mvePIEBALDconsult9-Feb-07 17:00 
QuestionMore Options on a ToolStrip Pin
max292979-Feb-07 15:29
max292979-Feb-07 15:29 
QuestionCan I create a personalized window? Pin
Khoramdin9-Feb-07 15:06
Khoramdin9-Feb-07 15:06 
AnswerRe: Can I create a personalized window? Pin
PIEBALDconsult9-Feb-07 17:02
mvePIEBALDconsult9-Feb-07 17:02 
QuestionRe: Can I create a personalized window? Pin
Khoramdin9-Feb-07 22:00
Khoramdin9-Feb-07 22:00 
QuestioncurrentMotion[0]["MeetingDateProp"].ToString("MMM dd, yyyy") Pin
Glen Harvy9-Feb-07 12:06
Glen Harvy9-Feb-07 12:06 
AnswerRe: currentMotion[0]["MeetingDateProp"].ToString("MMM dd, yyyy") Pin
Christian Graus9-Feb-07 12:12
protectorChristian Graus9-Feb-07 12:12 
GeneralRe: currentMotion[0]["MeetingDateProp"].ToString("MMM dd, yyyy") Pin
Glen Harvy9-Feb-07 14:26
Glen Harvy9-Feb-07 14:26 
AnswerRe: currentMotion[0]["MeetingDateProp"].ToString("MMM dd, yyyy") Pin
Ed.Poore9-Feb-07 12:42
Ed.Poore9-Feb-07 12:42 
GeneralRe: currentMotion[0]["MeetingDateProp"].ToString("MMM dd, yyyy") Pin
Glen Harvy9-Feb-07 14:28
Glen Harvy9-Feb-07 14:28 
GeneralRe: currentMotion[0]["MeetingDateProp"].ToString("MMM dd, yyyy") Pin
Ed.Poore9-Feb-07 15:01
Ed.Poore9-Feb-07 15:01 
Question.NET memory limitations Pin
Todd Smith9-Feb-07 11:38
Todd Smith9-Feb-07 11:38 
AnswerRe: .NET memory limitations Pin
Christian Graus9-Feb-07 12:13
protectorChristian Graus9-Feb-07 12:13 
GeneralRe: .NET memory limitations Pin
M Harris10-Feb-07 3:10
M Harris10-Feb-07 3:10 
AnswerRe: .NET memory limitations Pin
Nemanja Trifunovic9-Feb-07 12:16
Nemanja Trifunovic9-Feb-07 12:16 
GeneralRe: .NET memory limitations Pin
Todd Smith9-Feb-07 12:58
Todd Smith9-Feb-07 12:58 
QuestionDatabase access [modified] Pin
sreecahitu9-Feb-07 10:30
sreecahitu9-Feb-07 10:30 

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.