2 using System.Collections.Generic;
3 using System.ComponentModel;
7 using System.Windows.Forms;
9 namespace Sample_Environment_Control_Interface.Dialogs.Manager
15 InitializeComponent();
20 if (Seci.SeciInterface.LogInAsManager(txtPassword.Text))
22 DialogResult = DialogResult.OK;
26 MessageBox.Show(
"The password entered is incorrect!",
"Incorrect Password!", MessageBoxButtons.OK, MessageBoxIcon.Error);
27 DialogResult = DialogResult.Cancel;
void btnnOK_Click(object sender, EventArgs e)