Exemplo n.º 1
0
        private void Reset()
        {
            TxtUniqueId.Visible        = false;
            CmbUniqueId.Visible        = true;
            LblBookName.Location       = new Point(6, 68);
            CmdBookName.Location       = new Point(121, 62);
            PnlButtons.Location        = new Point(6, 92);
            PnlUser.Visible            = false;
            PnlUser.Location           = new Point(9, 144);
            PnlDateTime.Visible        = false;
            PnlDateTime.Location       = new Point(6, 144);
            BtnBookReservation.Visible = true;
            BtnEnd.Visible             = false;
            BtnEnd.Enabled             = false;
            GrbBookCrud.Size           = new Size(285, 169);

            TxtPenalty.ResetText();
            TxtStartTime.ResetText();
            TxtUniqueId.ResetText();
            CmbUniqueId.ResetText();
            CmdBookName.ResetText();
            TxtName.ResetText();
            TxtPhone.ResetText();
            TxtSurname.ResetText();
            CmbSearchBook.ResetText();
            CmbSearchId.ResetText();
        }
Exemplo n.º 2
0
 private void Reset()
 {
     CmbUniqueId.ResetText();
     CmdBookName.ResetText();
     BtnEnd.Enabled    = false;
     BtnSearch.Enabled = true;
 }