Example #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Btn_SaveSetting.Enabled   = true;
            Btn_UpdateSetting.Enabled = false;

            RText_User.ResetText();
            RText_Password.ResetText();
            Com_User.ResetText();
            DGV_Users.ClearSelection();
        }
        private void Btn_New_Click(object sender, EventArgs e)
        {
            Btn_Add.Enabled    = true;
            Btn_Update.Enabled = false;

            RText_User.ResetText();
            RText_Password.ResetText();
            Com_User.SelectedIndex = -1;
            DGV_Users.ClearSelection();
        }