Click here to Skip to main content
15,894,546 members
Home / Discussions / C#
   

C#

 
QuestionPassing parameters while debugging?? Pin
Muammar©3-Feb-08 19:55
Muammar©3-Feb-08 19:55 
AnswerRe: Passing parameters while debugging?? Pin
Martin#3-Feb-08 21:46
Martin#3-Feb-08 21:46 
GeneralRe: Passing parameters while debugging?? Pin
Muammar©4-Feb-08 2:32
Muammar©4-Feb-08 2:32 
GeneralRe: Passing parameters while debugging?? Pin
N a v a n e e t h3-Feb-08 22:31
N a v a n e e t h3-Feb-08 22:31 
GeneralRe: Passing parameters while debugging?? Pin
Muammar©4-Feb-08 2:33
Muammar©4-Feb-08 2:33 
AnswerRe: Passing parameters while debugging?? Pin
Spacix One4-Feb-08 2:58
Spacix One4-Feb-08 2:58 
GeneralRe: Passing parameters while debugging?? Pin
Muammar©4-Feb-08 20:00
Muammar©4-Feb-08 20:00 
Questionhow to pass a value from an event to on button click? Pin
samidhas3-Feb-08 19:46
samidhas3-Feb-08 19:46 
hi friends ,
i want to pass a cnt value which is used in event to button click... how can i do it?
--------------------------------------------------------------
private void treeXml_AfterSelect(object sender,
System.Windows.Forms.TreeViewEventArgs e,e)
{

int cnt = e.Node.GetNodeCount(false);
grpbox.Controls.Clear();
for (int i = 0; i < cnt; i++)
{
Label lbl = new Label();
TextBox txt = new TextBox();
//PictureBox img = new PictureBox();

lbl.Text = e.Node.Text;
lbl.Left = 200;
lbl.Top = 200 * i;
txt.Left = 250;
txt.Top = 200 * i;
//img.left=300;
//img.top=200 * i;

lbl.Show();
txt.Show();


grpbox.Controls.Add(txt);
grpbox.Controls.Add(lbl);
//grpbox.Controls.Add(img);



}

}

private void button2_Click(object sender, System.EventArgs e)
{
}
GeneralRe: how to pass a value from an event to on button click? Pin
N a v a n e e t h3-Feb-08 19:50
N a v a n e e t h3-Feb-08 19:50 
GeneralRe: how to pass a value from an event to on button click? Pin
samidhas3-Feb-08 20:15
samidhas3-Feb-08 20:15 
GeneralRe: how to pass a value from an event to on button click? Pin
N a v a n e e t h3-Feb-08 20:27
N a v a n e e t h3-Feb-08 20:27 
GeneralRe: how to pass a value from an event to on button click? Pin
samidhas3-Feb-08 21:04
samidhas3-Feb-08 21:04 
GeneralInject into PE file with csharp. Pin
hdv2123-Feb-08 19:32
hdv2123-Feb-08 19:32 
QuestionCan we use Balloon tool tip in vs2003 ?? Pin
peter rankel3-Feb-08 19:28
peter rankel3-Feb-08 19:28 
AnswerRe: Can we use Balloon tool tip in vs2003 ?? Pin
Corinna John3-Feb-08 21:16
Corinna John3-Feb-08 21:16 
AnswerRe: Can we use Balloon tool tip in vs2003 ?? Pin
Thomas Stockwell4-Feb-08 8:25
professionalThomas Stockwell4-Feb-08 8:25 
QuestionTimeSpan?? Pin
xString3-Feb-08 19:28
xString3-Feb-08 19:28 
AnswerRe: TimeSpan?? Pin
Martin#3-Feb-08 21:49
Martin#3-Feb-08 21:49 
Generalgenerate crystal report from datagridview [modified] Pin
Maddie from Dartford3-Feb-08 18:48
Maddie from Dartford3-Feb-08 18:48 
GeneralError in DBconnection Pin
chanzeb3-Feb-08 18:40
chanzeb3-Feb-08 18:40 
GeneralRe: Error in DBconnection Pin
xString3-Feb-08 19:36
xString3-Feb-08 19:36 
GeneralRe: Error in DBconnection Pin
N a v a n e e t h3-Feb-08 19:47
N a v a n e e t h3-Feb-08 19:47 
QuestionDateTime problem??? Pin
Neo Andreson3-Feb-08 18:17
Neo Andreson3-Feb-08 18:17 
AnswerRe: DateTime problem??? Pin
xString3-Feb-08 19:47
xString3-Feb-08 19:47 
General[Message Deleted] Pin
Neo Andreson3-Feb-08 17:33
Neo Andreson3-Feb-08 17: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.