Click here to Skip to main content
15,918,041 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questionwant to change startup form in windows application Pin
Khawar Abbas125-Sep-07 0:01
Khawar Abbas125-Sep-07 0:01 
AnswerRe: want to change startup form in windows application Pin
Eduard Keilholz25-Sep-07 2:26
Eduard Keilholz25-Sep-07 2:26 
AnswerRe: want to change startup form in windows application Pin
bttds26-Sep-07 20:39
bttds26-Sep-07 20:39 
QuestionCombining 2 projects into 1 (part II) Pin
heztheone24-Sep-07 19:48
heztheone24-Sep-07 19:48 
QuestionDataGridView : Getting started Pin
JamesParsons24-Sep-07 19:37
JamesParsons24-Sep-07 19:37 
AnswerRe: DataGridView : Getting started Pin
JamesParsons24-Sep-07 19:41
JamesParsons24-Sep-07 19:41 
GeneralSeparate Sections in TextBox Pin
Brady Kelly24-Sep-07 3:02
Brady Kelly24-Sep-07 3:02 
GeneralRe: Separate Sections in TextBox Pin
Lutosław24-Sep-07 5:02
Lutosław24-Sep-07 5:02 
Brady Kelly wrote:
separate sections of text with horizontal lines in a textbox or another control.

Try to use RichTextBox control and insert a horizontal-line bitmap from some web page.

Brady Kelly wrote:
autosize

CP is full of such solutions, the easiest way is to handle TextChanged:
private void textBox1_TextChanged(object sender, EventArgs e)
{
	textBox1.Width = (int)CreateGraphics().MeasureString(textBox1.Text, textBox1.Font).Width + 10;
}







Greetings - Gajatko

Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

Questionvirtual graphics adapter Pin
amit.code23-Sep-07 23:18
amit.code23-Sep-07 23:18 
Questionhow to include check box in datagrid for .net 1.x version Pin
faiznasi21-Sep-07 20:49
faiznasi21-Sep-07 20:49 
AnswerRe: how to include check box in datagrid for .net 1.x version Pin
gzali26-Sep-07 23:36
gzali26-Sep-07 23:36 
QuestionData not displaying on separate forms Pin
basi001420-Sep-07 8:28
basi001420-Sep-07 8:28 
AnswerRe: Data not displaying on separate forms Pin
Dave Kreskowiak20-Sep-07 8:54
mveDave Kreskowiak20-Sep-07 8:54 
GeneralRe: Data not displaying on separate forms Pin
Paul Conrad26-Sep-07 16:15
professionalPaul Conrad26-Sep-07 16:15 
Questiondll Pin
ellllllllie19-Sep-07 22:27
ellllllllie19-Sep-07 22:27 
AnswerRe: dll Pin
Colin Angus Mackay20-Sep-07 0:42
Colin Angus Mackay20-Sep-07 0:42 
QuestionToolbar or BindingNavigator? Pin
aharrisreid19-Sep-07 13:09
aharrisreid19-Sep-07 13:09 
AnswerRe: Toolbar or BindingNavigator? Pin
kuyak200024-Sep-07 20:12
kuyak200024-Sep-07 20:12 
GeneralRe: Toolbar or BindingNavigator? Pin
aharrisreid25-Sep-07 1:37
aharrisreid25-Sep-07 1:37 
AnswerRe: Toolbar or BindingNavigator? Pin
kuyak20001-Oct-07 18:05
kuyak20001-Oct-07 18:05 
GeneralRe: Toolbar or BindingNavigator? Pin
aharrisreid4-Oct-07 15:48
aharrisreid4-Oct-07 15:48 
GeneralRe: Toolbar or BindingNavigator? Pin
kuyak20008-Oct-07 0:40
kuyak20008-Oct-07 0:40 
GeneralRe: Toolbar or BindingNavigator? Pin
aharrisreid8-Oct-07 0:50
aharrisreid8-Oct-07 0:50 
QuestionColumnHeaderMouseDoubleClick event Pin
tthellebuyck19-Sep-07 5:04
tthellebuyck19-Sep-07 5:04 
AnswerRe: ColumnHeaderMouseDoubleClick event Pin
bttds26-Sep-07 19:42
bttds26-Sep-07 19:42 

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.