Exemplo n.º 1
0
        private void DisplayEditDialog(TimeSheetDetailData data, EditTimeRecord.Mode mode)
        {
            EditTimeRecord dlg = new EditTimeRecord(data, mode);

            dlg.textBoxTimeAccrued.Text   = data.m_minsAccrued;
            dlg.textBoxPMONumber.Text     = data.m_PMONumber;
            dlg.textBoxWorkEndTime.Text   = data.m_workEndTime;
            dlg.textBoxWorkStartDate.Text = data.m_workStartTime;
            dlg.textBoxDate.Text          = data.m_date;
            dlg.textBoxWorkId.Text        = data.m_workId;

            if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                LoadData(m_now);
            }
        }
Exemplo n.º 2
0
        private void DisplayEditDialog(TimeSheetDetailData data, EditTimeRecord.Mode mode )
        {
            EditTimeRecord dlg = new EditTimeRecord(data, mode);
            dlg.textBoxTimeAccrued.Text = data.m_minsAccrued;
            dlg.textBoxPMONumber.Text = data.m_PMONumber;
            dlg.textBoxWorkEndTime.Text = data.m_workEndTime;
            dlg.textBoxWorkStartDate.Text = data.m_workStartTime;
            dlg.textBoxDate.Text = data.m_date;
            dlg.textBoxWorkId.Text = data.m_workId;

            if ( dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK )
            {
                LoadData(m_now);
            }
        }