private void btnLogin_Click(object sender, EventArgs e)
 {
     LoginRequestedEvent?.Invoke(textBox1.Text, textBox2.Text, textBox3.Text);
 }
 private void btnCancel_Click(object sender, EventArgs e)
 {
     LoginRequestedEvent?.Invoke();
 }