void txtStudentRFIDNo_TextChanged(object sender, EventArgs e)
 {
     if (string.IsNullOrWhiteSpace(txtStudentRFIDNo.Text))
     {
         AutoScanTimer.Enabled = true;
         AutoScanTimer.Start();
     }
 }
 void btnEdit_Click(object sender, EventArgs e)
 {
     ObjEnable(true);
     isAdd = false;
     SystemProperties.Cleared(this, true, false, false);
     SystemProperties.Cleared(Mother, true, false, false);
     SystemProperties.Cleared(Father, true, false, false);
     MsgReturned = "";
     AutoScanTimer.Start();
     txtSearch.ReadOnly = false;
 }
 void btnAdd_Click(object sender, EventArgs e)
 {
     ObjEnable(true);
     btnDelete = SystemProperties.BtnProperties(btnDelete, false, Imagename.Delete.ToString(), Imagename._delete.ToString());
     isAdd     = true;
     SystemProperties.Cleared(this, true, true, true);
     SystemProperties.Cleared(Mother, true, true, true);
     SystemProperties.Cleared(Father, true, true, true);
     MsgReturned = "";
     AutoScanTimer.Start();
     txtSearch.ReadOnly = false;
 }
        void SetProperties()
        {
            LoadApplication();
            LoadCourse();
            LoadYearLevel();
            LoadCivilStatus();
            LoadStudentInfo();

            ObjEnable(false);
            SystemProperties.Cleared(this, false, true, true);
            SystemProperties.Cleared(Mother, false, true, true);
            SystemProperties.Cleared(Father, false, true, true);
            txtSearch.ReadOnly    = false;
            AutoScanTimer.Enabled = true;
            AutoScanTimer.Start();
        }
Example #5
0
 protected override void OnShown(EventArgs e)
 {
     base.OnShown(e);
     _rootWidget.HighlightOff();
     _autoScanTimer.Start();
 }
Example #6
0
 void btnTest_Click(object sender, EventArgs e)
 {
     AutoScanTimer.Enabled = true;
     AutoScanTimer.Start();
 }