private void RetrieveDialogType_Load(object sender, EventArgs e) { SM = new StudyMover.StudyMover(); dtpDateFrom.CustomFormat = "dd/MM/yyyy"; dtpDateTo.CustomFormat = "dd/MM/yyyy"; dtpDateFrom.Value = DateTime.Now.Date; dtpDateTo.Value = DateTime.Now.Date; TeleRadPush.modMain.Retreived = false; DataGridView1.Refresh(); this.Cursor = Cursors.WaitCursor; this.PatientStudyViewTableAdapter.Fill(this.PatientStudyView.PatientStudyView); //Me.StudyViewTableAdapter.Fill(Me.DicomServerDBDataSet1.StudyView) //OptionsBox = New OptionsBoxType //If UType = 2 Then // os = New frmOS //Else // sp = New frmSP //End If //NotesReports_Images(); this.Cursor = Cursors.Default; WoN_WoR = Color.White; WN_WoR = Color.LightPink; WN_WR = Color.PowderBlue; GridDesign(); }
private void RetrieveDialogTypeSend_Load(object sender, EventArgs e) { FromDate = ToDate = DateTime.Now; SM = new StudyMover.StudyMover(); TeleRadPush.modMain.Retreived = false; this.Cursor = Cursors.WaitCursor; this.PatientStudyViewTableAdapter.Fill(this.PatientStudyView.PatientStudyView); FillList(); this.Cursor = Cursors.Arrow; }