Click here to Skip to main content
15,904,926 members
Home / Discussions / C#
   

C#

 
GeneralRe: Managed DirectX: load large Bitmap Pin
Daniel Turini22-Aug-05 23:17
Daniel Turini22-Aug-05 23:17 
GeneralRe: Managed DirectX: load large Bitmap Pin
silka_c#22-Aug-05 23:43
silka_c#22-Aug-05 23:43 
GeneralRe: Managed DirectX: load large Bitmap Pin
Daniel Turini23-Aug-05 3:52
Daniel Turini23-Aug-05 3:52 
QuestionRe: Managed DirectX: load large Bitmap Pin
silka_c#29-Aug-05 5:24
silka_c#29-Aug-05 5:24 
GeneralDataGrid Row Highlight Pin
econner22-Aug-05 6:40
econner22-Aug-05 6:40 
GeneralRe: DataGrid Row Highlight Pin
Robert Rohde22-Aug-05 8:42
Robert Rohde22-Aug-05 8:42 
GeneralRe: DataGrid Row Highlight Pin
rudy.net22-Aug-05 17:45
rudy.net22-Aug-05 17:45 
GeneralDataGrid/Cells read only Pin
econner22-Aug-05 6:37
econner22-Aug-05 6:37 
GeneralCom+ Problem Pin
webhay22-Aug-05 6:33
webhay22-Aug-05 6:33 
Generalformatting text Pin
samoore22-Aug-05 6:07
samoore22-Aug-05 6:07 
GeneralRe: formatting text Pin
Guffa22-Aug-05 6:20
Guffa22-Aug-05 6:20 
GeneralRe: formatting text Pin
samoore22-Aug-05 6:28
samoore22-Aug-05 6:28 
GeneralRe: formatting text Pin
Robert Rohde22-Aug-05 8:47
Robert Rohde22-Aug-05 8:47 
GeneralRe: formatting text Pin
Christian Graus22-Aug-05 10:59
protectorChristian Graus22-Aug-05 10:59 
GeneralRe: formatting text Pin
samoore22-Aug-05 11:34
samoore22-Aug-05 11:34 
QuestionTest Network Services with C#? Pin
jkersch22-Aug-05 5:49
jkersch22-Aug-05 5:49 
Generalc# newbie problem Pin
talk2krish22-Aug-05 4:34
talk2krish22-Aug-05 4:34 
GeneralRe: c# newbie problem Pin
Judah Gabriel Himango22-Aug-05 4:59
sponsorJudah Gabriel Himango22-Aug-05 4:59 
GeneralOnEnter Event Pin
Agyeman22-Aug-05 4:07
Agyeman22-Aug-05 4:07 
GeneralRe: OnEnter Event Pin
miah alom22-Aug-05 4:32
miah alom22-Aug-05 4:32 
GeneralRe: OnEnter Event Pin
Agyeman22-Aug-05 5:01
Agyeman22-Aug-05 5:01 
GeneralRe: OnEnter Event Pin
miah alom22-Aug-05 5:02
miah alom22-Aug-05 5:02 
GeneralRe: OnEnter Event Pin
miah alom22-Aug-05 5:59
miah alom22-Aug-05 5:59 
Sample project

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace WindowsApplication1
{
///
/// Summary description for Form1.
///

public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.ListBox listBox1;
///
/// Required designer variable.
///

private System.ComponentModel.Container components = null;

public Form1()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();

//
// TODO: Add any constructor code after InitializeComponent call
//
}

///
/// Clean up any resources being used.
///

protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}

#region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

private void InitializeComponent()
{
this.textBox1 = new System.Windows.Forms.TextBox();
this.listBox1 = new System.Windows.Forms.ListBox();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(88, 32);
this.textBox1.Name = "textBox1";
this.textBox1.TabIndex = 0;
this.textBox1.Text = "textBox1";
this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyDown);
//
// listBox1
//
this.listBox1.Location = new System.Drawing.Point(72, 88);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(120, 95);
this.listBox1.TabIndex = 1;
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(292, 266);
this.Controls.Add(this.listBox1);
this.Controls.Add(this.textBox1);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);

}
#endregion

///
/// The main entry point for the application.
///

[STAThread]
static void Main()
{
Application.Run(new Form1());
}

private void textBox1_KeyDown(object sender, System.Windows.Forms.KeyPressEventArgs e)
{
if (e.KeyChar == (char)Keys.Enter )
{
this.listBox1.Items.Add(this.textBox1.Text );
}
}
}
}
GeneralRe: OnEnter Event Pin
Agyeman22-Aug-05 8:02
Agyeman22-Aug-05 8:02 
GeneralRe: OnEnter Event Pin
nidhelp22-Aug-05 22:02
nidhelp22-Aug-05 22:02 

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.