private void button1_Click(object sender, EventArgs e)
        {
            FRM_ADD_USER user = new FRM_ADD_USER();

            user.ShowDialog();
            dataGridView1.DataSource = log.Search_Users("");
        }
        private void button2_Click(object sender, EventArgs e)
        {
            FRM_ADD_USER user = new FRM_ADD_USER();

            user.stat = "Edit";
            user.Text = "Edit";
            user.textBox_Pass.Text      = dataGridView1.CurrentRow.Cells[1].Value.ToString();
            user.textBox_FullNAme.Text  = dataGridView1.CurrentRow.Cells[3].Value.ToString();
            user.textBox_USER_NAME.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString();
            user.textBoxRePass.Text     = dataGridView1.CurrentRow.Cells[1].Value.ToString();
            if (dataGridView1.CurrentRow.Cells[2].Value.ToString() == "Admin     ")
            {
                user.comboBox_Types.SelectedIndex = 1;
            }
            else
            {
                user.comboBox_Types.SelectedIndex = 0;
            }

            user.ShowDialog();
            dataGridView1.DataSource = log.Search_Users("");
        }
        private void addNewUserToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FRM_ADD_USER user = new FRM_ADD_USER();

            user.ShowDialog();
        }