示例#1
0
 private void comboSeries_SelectedIndexChanged(object sender, EventArgs e)
 {
     SopIds = _studyinstProvider.GetSopsInSeries(comboSeries.SelectedValue.ToString());
     instancecounter.Maximum = SopIds.Count() - 1;
     current_img             = _studyinstProvider.GetImage(comboSeries.SelectedValue.ToString(), SopIds[0]);
     framecounter.Maximum    = current_img.NumberOfFrame - 1;
     Instance.Image          = current_img.GetImage(0);
 }
示例#2
0
 private void framecounter_ValueChanged(object sender, EventArgs e)
 {
     framecounter.Maximum = current_img.NumberOfFrame - 1;
     Instance.Image       = current_img.GetImage((int)framecounter.Value);
 }
示例#3
0
 private void instancecounter_ValueChanged(object sender, EventArgs e)
 {
     current_img          = _studyinstProvider.GetImage(comboSeries.SelectedValue.ToString(), SopIds[(int)instancecounter.Value]);
     framecounter.Maximum = current_img.NumberOfFrame - 1;
     Instance.Image       = current_img.GetImage(0);
 }