Click here to Skip to main content
15,881,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: Monitoring FTP-Server incomming Pin
jschell27-Nov-15 6:05
jschell27-Nov-15 6:05 
QuestionHow do I pass data from child of child form to parent form in C#? Pin
naouf1026-Nov-15 5:34
naouf1026-Nov-15 5:34 
AnswerRe: How do I pass data from child of child form to parent form in C#? Pin
OriginalGriff26-Nov-15 6:15
mveOriginalGriff26-Nov-15 6:15 
GeneralRe: How do I pass data from child of child form to parent form in C#? Pin
naouf1027-Nov-15 8:50
naouf1027-Nov-15 8:50 
GeneralRe: How do I pass data from child of child form to parent form in C#? Pin
OriginalGriff27-Nov-15 9:09
mveOriginalGriff27-Nov-15 9:09 
AnswerRe: How do I pass data from child of child form to parent form in C#? Pin
BillWoodruff26-Nov-15 12:07
professionalBillWoodruff26-Nov-15 12:07 
GeneralRe: How do I pass data from child of child form to parent form in C#? Pin
naouf1027-Nov-15 8:51
naouf1027-Nov-15 8:51 
AnswerRe: How do I pass data from child of child form to parent form in C#? Pin
susad7-Dec-15 3:05
susad7-Dec-15 3:05 
Build some business logic, i.e. class(es) for storing the text entered form3 and pass it/them to form1 in buttonAddRow_Click

or make something like this

C#
public struct EnteredText
{
 public string t1, t2, t3;
};

public partial class Form3 : Form
{
 public delegate void ButtonClick(EnteredText data);
 public event ButtonClick OnClick;
...
 private void buttonAddRow _Click(object sender, EventArgs e)
    {
        EnteredText args;
        args.t1 = textbox1.Text; args.t2 = ...
        if (OnClick != null)
            OnClick(args);
    }
}

Means you copy the text from the boxes into the struct and fire the event OnClick. Somewhere in Form2 you should do something like this:
C#
 Form3 f3 = new Form3();
 f3.OnClick += f3_OnClick;
 f3.Show();
}
private void f3_OnClick(EnteredText txt)
{
// do something with the text or refire a new event.
}

Questionhow to accelebrate chart when have many series? Pin
smallkubi25-Nov-15 13:55
smallkubi25-Nov-15 13:55 
AnswerRe: how to accelebrate chart when have many series? Pin
Dave Kreskowiak25-Nov-15 16:56
mveDave Kreskowiak25-Nov-15 16:56 
GeneralRe: how to accelebrate chart when have many series? Pin
smallkubi25-Nov-15 18:19
smallkubi25-Nov-15 18:19 
GeneralRe: how to accelebrate chart when have many series? Pin
Dave Kreskowiak26-Nov-15 4:13
mveDave Kreskowiak26-Nov-15 4:13 
GeneralRe: how to accelebrate chart when have many series? Pin
smallkubi26-Nov-15 5:16
smallkubi26-Nov-15 5:16 
GeneralRe: how to accelebrate chart when have many series? Pin
smallkubi27-Nov-15 21:59
smallkubi27-Nov-15 21:59 
AnswerRe: how to accelebrate chart when have many series? Pin
Richard Deeming26-Nov-15 1:57
mveRichard Deeming26-Nov-15 1:57 
GeneralRe: how to accelebrate chart when have many series? Pin
John Torjo26-Nov-15 3:35
professionalJohn Torjo26-Nov-15 3:35 
GeneralRe: how to accelebrate chart when have many series? Pin
Richard Deeming26-Nov-15 3:40
mveRichard Deeming26-Nov-15 3:40 
GeneralRe: how to accelebrate chart when have many series? Pin
John Torjo26-Nov-15 3:41
professionalJohn Torjo26-Nov-15 3:41 
GeneralRe: how to accelebrate chart when have many series? Pin
Pete O'Hanlon26-Nov-15 5:16
mvePete O'Hanlon26-Nov-15 5:16 
QuestionHttpWebRequest in WCF Pin
Giorgi Martiashvili24-Nov-15 20:00
Giorgi Martiashvili24-Nov-15 20:00 
SuggestionRe: HttpWebRequest in WCF Pin
Kornfeld Eliyahu Peter24-Nov-15 22:49
professionalKornfeld Eliyahu Peter24-Nov-15 22:49 
AnswerRe: HttpWebRequest in WCF Pin
Rob Philpott25-Nov-15 1:10
Rob Philpott25-Nov-15 1:10 
Question(WPF) How to pass events from child to parent Pin
Foothill24-Nov-15 10:51
professionalFoothill24-Nov-15 10:51 
Generalcoding problem progress bar Pin
Kris Saelen24-Nov-15 5:56
Kris Saelen24-Nov-15 5:56 
AnswerRe: coding problem progress bar Pin
Duncan Edwards Jones24-Nov-15 5:57
professionalDuncan Edwards Jones24-Nov-15 5:57 

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.