Click here to Skip to main content
15,942,718 members
Home / Discussions / C#
   

C#

 
AnswerRe: Tab Control Pin
Eric Dahlvang8-Jan-07 4:51
Eric Dahlvang8-Jan-07 4:51 
GeneralRe: Tab Control Pin
Gal Edvi8-Jan-07 4:59
Gal Edvi8-Jan-07 4:59 
GeneralRe: Tab Control Pin
Eric Dahlvang8-Jan-07 5:11
Eric Dahlvang8-Jan-07 5:11 
GeneralRe: Tab Control Pin
Gal Edvi8-Jan-07 19:39
Gal Edvi8-Jan-07 19:39 
GeneralRe: Tab Control Pin
Eric Dahlvang9-Jan-07 3:22
Eric Dahlvang9-Jan-07 3:22 
QuestionGenerating a new button, from a button click? Pin
JayBoychuk8-Jan-07 3:58
JayBoychuk8-Jan-07 3:58 
AnswerRe: Generating a new button, from a button click? Pin
Mircea Puiu8-Jan-07 4:01
Mircea Puiu8-Jan-07 4:01 
GeneralRe: Generating a new button, from a button click? Pin
JayBoychuk8-Jan-07 5:50
JayBoychuk8-Jan-07 5:50 
Mircea Puiu wrote:
Take those pieces of code and replicate them when you need.


private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();

this.button1.Location = new System.Drawing.Point(62, 54);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
}
private System.Windows.Forms.Button button1;

Ok, with some editting there is all the information regarding button1, so I have tried copying and pasting all and parts of the code into any place that makes sense, and either it tells me
"Type or namespace, or end of file expected", or it compiles and nothing happens upon button click. So then I change all the places where it says button1 to button2, and of course it tells me "We don't have a definition for button2"...

Can anyone spare the time to be a bit more specific Blush | :O
GeneralRe: Generating a new button, from a button click? Pin
Mircea Puiu8-Jan-07 20:48
Mircea Puiu8-Jan-07 20:48 
GeneralA little bit more help Pin
Mircea Puiu8-Jan-07 21:38
Mircea Puiu8-Jan-07 21:38 
AnswerRe: Generating a new button, from a button click? Pin
Eric Dahlvang8-Jan-07 5:32
Eric Dahlvang8-Jan-07 5:32 
QuestionmyClass events Pin
Seishin#8-Jan-07 3:53
Seishin#8-Jan-07 3:53 
AnswerRe: myClass events Pin
Mircea Puiu8-Jan-07 3:55
Mircea Puiu8-Jan-07 3:55 
QuestionDatagrid cell double click Pin
Tyler458-Jan-07 3:37
Tyler458-Jan-07 3:37 
QuestionRe: Datagrid cell double click Pin
Tyler458-Jan-07 3:47
Tyler458-Jan-07 3:47 
AnswerRe: Datagrid cell double click Pin
Mircea Puiu8-Jan-07 3:51
Mircea Puiu8-Jan-07 3:51 
QuestionRe: Datagrid cell double click Pin
Tyler458-Jan-07 4:03
Tyler458-Jan-07 4:03 
AnswerRe: Datagrid cell double click Pin
Mircea Puiu8-Jan-07 21:44
Mircea Puiu8-Jan-07 21:44 
GeneralRe: Datagrid cell double click Pin
Tyler458-Jan-07 22:06
Tyler458-Jan-07 22:06 
QuestionHow do I bookmark code? Pin
mcgahanfl8-Jan-07 3:19
mcgahanfl8-Jan-07 3:19 
AnswerRe: How do I bookmark code? Pin
Mircea Puiu8-Jan-07 3:26
Mircea Puiu8-Jan-07 3:26 
GeneralRe: How do I bookmark code? Pin
mcgahanfl8-Jan-07 5:31
mcgahanfl8-Jan-07 5:31 
AnswerRe: How do I bookmark code? Pin
Pete O'Hanlon8-Jan-07 3:38
mvePete O'Hanlon8-Jan-07 3:38 
QuestionC# Timers Pin
manustone8-Jan-07 3:13
manustone8-Jan-07 3:13 
AnswerRe: C# Timers Pin
Mircea Puiu8-Jan-07 3:33
Mircea Puiu8-Jan-07 3:33 

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.