private void panel3_DoubleClick(object sender, EventArgs e)
        {
            string value = "";

            if (MyModules.InputBox("Modification Access", "Enter Passcode:", ref value, true) == DialogResult.OK)
            {
                if (value == "L/?")
                {
                    btnAdd.Visible    = true;
                    btnUpdate.Visible = true;
                    btnDelete.Visible = true;
                }
            }
        }
        private void FrmSvrInfor_Load(object sender, EventArgs e)
        {
            string value = "";

            if (MyModules.InputBox("Access", "Enter Password:"******"Admin.")
                {
                    MessageBox.Show("Access Denied!");
                    this.Close();
                }
            }

            this.Text = "Server Information";


            this.Width = 277;


            try
            {
                if (System.IO.File.Exists(MyModules.ConfigFile))

                {
                    System.IO.StreamReader objReader = new System.IO.StreamReader(MyModules.ConfigFile); //, true, System.Text.Encoding.UTF8);

                    cboServerName.Text   = objReader.ReadLine();
                    txtAttachName.Text   = objReader.ReadLine();
                    chkWinAuthen.Checked = Convert.ToBoolean(objReader.ReadLine());
                    txtUserID.Text       = objReader.ReadLine();
                    txtPassword.Text     = objReader.ReadLine();
                    txtOwner.Text        = objReader.ReadLine();
                    objReader.Close();
                }
                else
                {
                    MessageBox.Show("Invalid Configuration Parameter" + "\r" + "System Halted", MyModules.strApptitle, MessageBoxButtons.OK, MessageBoxIcon.Information);
                    System.Environment.Exit(0);
                }


                chkWinAuthen_CheckedChanged(sender, e);
            }
            catch (Exception er)
            {
                MessageBox.Show(er.Message, MyModules.strApptitle, MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }