Hello! Can anyone here do me a favor?
I have a MainWindow with a HideButton and RetrieveButton. When I click on either one button, it will goes to another ChildWindow. My ChildWindow have a OKButton.
The question here,
How to set if else statement in C# for pseudocode below?
Thanks in advance.
By, Aeris
I have a MainWindow with a HideButton and RetrieveButton. When I click on either one button, it will goes to another ChildWindow. My ChildWindow have a OKButton.
The question here,
How to set if else statement in C# for pseudocode below?
Code:
private void OKButton_Click(object sender, EventArgs e)
{
//pseudocode
if (HideButton in MainWindow is clicked)
{
//Perform the works
}
if(RetrieveButton in MainWindow is clicked)
{
// Perform other works
}
By, Aeris
Comment