private void ClearForm()
 {
     ReturDepositIDText.Clear();
     TglText.Value = DateTime.Now;
     JamText.Text  = DateTime.Now.ToString("HH:mm:ss");
     DepositIDText.Clear();
     PihakKeduaNameText.Clear();
     PihakKeduaNameText.Clear();
     KeteranganDepositText.Clear();
     SisaDepositText.Value = 0;
     NilaiReturText.Value  = 0;
 }
Example #2
0
 private void ClearForm()
 {
     LunasKasBonIDText.Clear();
     TglText.Value = DateTime.Now;
     JamText.Text  = DateTime.Now.ToString("HH:mm:ss");
     KasBonIDText.Clear();
     PihakKeduaIDText.Clear();
     PihakKeduaNameText.Clear();
     KeteranganText.Clear();
     NilaiSisaPiutangText.Value = 0;
     ListLunasTable.Rows.Clear();
     AddRow();
     NilaiTotLunasText.Value = 0;
 }
Example #3
0
        private void ClearForm()
        {
            NoTrsTextBox.Clear();
            TanggalDateTime.Value         = DateTime.Now;
            CustomerComboBox.SelectedItem = null;
            BuyerNameTextBox.Clear();
            AlamatTextBox.Clear();
            NoTelpTextBox.Clear();
            CatatanTextBox.Clear();
            DetilPenjualanTable.Rows.Clear();

            if (_listBayarDetil.IsNotNull())
            {
                _listBayarDetil.Clear();
            }

            BiayaKirimNumText.Value   = 0;
            DiskonNumText.Value       = 0;
            BiayaLainNumText.Value    = 0;
            BayarCashNumText.Value    = 0;
            BayarNonCashNumText.Value = 0;
            KembaliNumText.Value      = 0;

            ReCalcTotal();
            JamTrsTimer.Enabled = true;
            DetilPenjualanTable.Rows.Clear();
            _listBayarDetil = null;

            DepositIDText.Clear();
            PihakKeduaNameText.Clear();
            KeteranganText.Clear();
            NilaiDepositText.Value  = 0;
            TglDepositText.Value    = DateTime.Now;
            JamDepositText.Text     = "00:00:00";
            DepositCheckBox.Checked = false;

            AddRow();
        }