using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DabirKhane
{
    public partial class FrmLogin : Form
    {
        public FrmLogin()
        {
            InitializeComponent();
        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {


            Payegah.FindNumberORpassWord(Variables.masir, Variables.StrCommandRamz);
            string m = Payegah.PassWord;
            button1.Enabled = (m == textBox2.Text);

        }

        private void button1_Click(object sender, EventArgs e)
        {

        }

       
    }
}