예제 #1
0
 private void gridHeader_Enter(object sender, EventArgs e)
 {
     selectMode       = enumSelectMode.Header;
     cmdEdit.Enabled  = true;
     cmdPrint.Enabled = true;
     gridHeader_SelectionChanged(sender, e);
 }
예제 #2
0
        private void frmVoucherGiroTitipanBrowse_Load(object sender, EventArgs e)
        {
            //tbTanggal.FromDate = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1);
            //tbTanggal.ToDate = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.DaysInMonth(DateTime.Today.Year, DateTime.Today.Month));

            tbTanggal.FromDate = DateTime.Today;
            tbTanggal.ToDate   = DateTime.Today;
            HeaderRefresh();
            //DetailRefresh();
            gridHeader.Focus();
            selectMode = enumSelectMode.Header;
        }
예제 #3
0
 private void gridDetail_Enter(object sender, EventArgs e)
 {
     selectMode       = enumSelectMode.Detail;
     cmdEdit.Enabled  = false;
     cmdPrint.Enabled = false;
 }