Client.ClientSideMenu.BStart_Click C# (CSharp) Méthode

BStart_Click() private méthode

BStart_Click. This method is called when the "Start" button is clicked. It creates a new ClientConfirm form, passes itself. It only closes the ClientSideMenu if the user selects yes from the confirm method.
private BStart_Click ( object sender, EventArgs e ) : void
sender object Object
e EventArgs Event Click
Résultat void
        private void BStart_Click(object sender, EventArgs e)
        {
            info = new ClientConfirm(this);
            info.ShowDialog();
            if (info.answer == 1)
                Close();
        }