using DevExpress.XtraEditors; using HL_FristAidPlatform_EMRS.Properties; using HL_FristAidPlatform_Public; using System; using System.Data; using System.Drawing; using System.Windows.Forms; namespace HL_FristAidPlatform_EMRS { public partial class Form_EMRInfo : XtraForm { private string _patientGUID; private int systemId; Form_PatientInfo info; Form_HealthCheckupInfo health; Form_AssistantExaminationInfo examination; Form_SpecialityCheckUpInfo speciality; Form_PatientECG ecg; POCT poct; public Form_EMRInfo(string patientGUID, int _systemId) { InitializeComponent(); systemId = _systemId; _patientGUID = patientGUID; } private void Form_EMRInfo_Load(object sender, EventArgs e) { string systemModelId = systemId.ToString(); if (systemModelId == PublicClassForDataBase.Config10001) { panel_Top.ContentImage = Resources.胸痛角标; } if (systemModelId == PublicClassForDataBase.Config10002) { panel_Top.ContentImage = Resources.卒中角标; } if (systemModelId == PublicClassForDataBase.Config10007) { panel_Top.ContentImage = Resources.院前角标; } panel_Top.ContentImageAlignment = ContentAlignment.TopLeft; ParentInfo(_patientGUID); } public void ParentInfo(string _patientGUID) { string Url = string.Format("api/service/T_Service_Patient/GetPatientsInfoModel?guid={0}", _patientGUID); DataTable dt = DBHelpClass.GetDataRow(Url); if (dt != null) { if (dt.Rows.Count > 0) { systemId = int.Parse(dt.Rows[0]["SystemModelID"].ToString()); if (!string.IsNullOrEmpty(dt.Rows[0]["OnsetTime"].ToString())) { DateTime time = Convert.ToDateTime(dt.Rows[0]["OnsetTime"].ToString()); lbl_OnsetTime.Text = time.ToString("yyyy-MM-dd"); lbl_OnsetTime1.Text = time.ToString("HH:mm:ss"); } if (!string.IsNullOrEmpty(dt.Rows[0]["CallTime"].ToString())) { DateTime time = Convert.ToDateTime(dt.Rows[0]["CallTime"].ToString()); lbl_CallTime.Text = time.ToString("yyyy-MM-dd"); lbl_CallTime1.Text = time.ToString("HH:mm:ss"); } if (!string.IsNullOrEmpty(dt.Rows[0]["DrivingTime"].ToString())) { DateTime time = Convert.ToDateTime(dt.Rows[0]["DrivingTime"].ToString()); lbl_DrivingTime.Text = time.ToString("yyyy-MM-dd"); lbl_DrivingTime1.Text = time.ToString("HH:mm:ss"); } if (!string.IsNullOrEmpty(dt.Rows[0]["ArrivalTime"].ToString())) { DateTime time = Convert.ToDateTime(dt.Rows[0]["ArrivalTime"].ToString()); lbl_ArrivalTime.Text = time.ToString("yyyy-MM-dd"); lbl_ArrivalTime1.Text = time.ToString("HH:mm:ss"); } if (!string.IsNullOrEmpty(dt.Rows[0]["BoardingTime"].ToString())) { DateTime time = Convert.ToDateTime(dt.Rows[0]["BoardingTime"].ToString()); lbl_BoardingTime.Text = time.ToString("yyyy-MM-dd"); lbl_BoardingTime1.Text = time.ToString("HH:mm:ss"); } if (!string.IsNullOrEmpty(dt.Rows[0]["TransportStartTime"].ToString())) { DateTime time = Convert.ToDateTime(dt.Rows[0]["TransportStartTime"].ToString()); lbl_TransportStartTime.Text = time.ToString("yyyy-MM-dd"); lbl_TransportStartTime1.Text = time.ToString("HH:mm:ss"); } if (!string.IsNullOrEmpty(dt.Rows[0]["ReturnHospitalTime"].ToString())) { DateTime time = Convert.ToDateTime(dt.Rows[0]["ReturnHospitalTime"].ToString()); lbl_ReturnHospitalTime.Text = time.ToString("yyyy-MM-dd"); lbl_ReturnHospitalTime1.Text = time.ToString("HH:mm:ss"); } if (!string.IsNullOrEmpty(dt.Rows[0]["TransportEndTime"].ToString())) { DateTime time = Convert.ToDateTime(dt.Rows[0]["TransportEndTime"].ToString()); lbl_TransportEndTime.Text = time.ToString("yyyy-MM-dd"); lbl_TransportEndTime1.Text = time.ToString("HH:mm:ss"); } lbl_TransportAddress.Text = dt.Rows[0]["TransportAddress"].ToString(); lbl_Attack_Address.Text = dt.Rows[0]["Attack_Address"].ToString(); lbl_Name.Text = dt.Rows[0]["Name"].ToString(); switch (dt.Rows[0]["Gender"].ToString()) { case "0": lbl_Gender.Text = "未知"; break; case "1": lbl_Gender.Text = "男"; break; case "2": lbl_Gender.Text = "女"; break; } lbl_Age.Text = dt.Rows[0]["Age"].ToString(); lbl_Temperature.Text = dt.Rows[0]["Temperature"].ToString() == "" ? "无" : dt.Rows[0]["Temperature"].ToString(); lbl_BloodPressure.Text = dt.Rows[0]["BloodPressure"].ToString() == "/" ? "无" : dt.Rows[0]["BloodPressure"].ToString(); lbl_HeartRate.Text = dt.Rows[0]["HeartRate"].ToString() == "" ? "无" : dt.Rows[0]["HeartRate"].ToString(); lbl_Illness.Text = dt.Rows[0]["Illness"].ToString() == "" ? "无" : dt.Rows[0]["Illness"].ToString(); lbl_FirstAidEffect.Text = dt.Rows[0]["FirstAidEffect"].ToString() == "" ? "无" : dt.Rows[0]["FirstAidEffect"].ToString(); lbl_VisitResult.Text = dt.Rows[0]["VisitResult"].ToString() == "" ? "无" : dt.Rows[0]["VisitResult"].ToString(); switch (dt.Rows[0]["BrainType"].ToString()) { case "0": lbl_BrainType.Text = "开放性"; break; case "1": lbl_BrainType.Text = "闭合性"; break; case "2": lbl_BrainType.Text = "烧伤"; break; default: lbl_BrainType.Text = "无"; break; } switch (dt.Rows[0]["ChestType"].ToString()) { case "0": lbl_ChestType.Text = "开放性"; break; case "1": lbl_ChestType.Text = "闭合性"; break; case "2": lbl_ChestType.Text = "烧伤"; break; default: lbl_ChestType.Text = "无"; break; } } switch (dt.Rows[0]["MaxillofacialType"].ToString()) { case "0": lbl_MaxillofacialType.Text = "开放性"; break; case "1": lbl_MaxillofacialType.Text = "闭合性"; break; case "2": lbl_MaxillofacialType.Text = "烧伤"; break; default: lbl_MaxillofacialType.Text = "无"; break; } if (!string.IsNullOrEmpty(dt.Rows[0]["ECG_Time"].ToString())) { lbl_ECT_Time.Text = dt.Rows[0]["ECG_Time"].ToString(); } else { lbl_ECT_Time.Text = "无"; } if (!string.IsNullOrEmpty(dt.Rows[0]["ECG_Diagnose_Time"].ToString())) { lbl_ECG_Diagnose_Time.Text = dt.Rows[0]["ECG_Diagnose_Time"].ToString(); } else { lbl_ECG_Diagnose_Time.Text = "无"; } if (!string.IsNullOrEmpty(dt.Rows[0]["Blood_Time"].ToString())) { lbl_Blood_Time.Text = dt.Rows[0]["Blood_Time"].ToString(); } else { lbl_Blood_Time.Text = "无"; } if (!string.IsNullOrEmpty(dt.Rows[0]["Report_Time"].ToString())) { lbl_Report_Time.Text = dt.Rows[0]["Report_Time"].ToString(); } else { lbl_Report_Time.Text = "无"; } // lbl_Report_Time.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; } } private void lbl_DiseaseMsg_Click(object sender, EventArgs e) { //int flag = 0; //if (lbl_DiseaseMsg.Text == "已签署") //{ // flag = 1; //} //Form_EpidemicNotification epi = new Form_EpidemicNotification(_patientGUID, flag); //epi.Owner = this; //epi.Show(); } private void pictureBox9_Click(object sender, EventArgs e) { Form_PatientInfoGCS nihss = new Form_PatientInfoGCS(_patientGUID); nihss.Owner = this; nihss.Show(); } private void pictureBox10_Click(object sender, EventArgs e) { Form_PatientInfoPHI phi = new Form_PatientInfoPHI(_patientGUID); phi.Owner = this; phi.Show(); } private void pictureBox11_Click(object sender, EventArgs e) { Form_PatientInfoRTS rts = new Form_PatientInfoRTS(_patientGUID); rts.Owner = this; rts.Show(); } private void pictureBox12_Click(object sender, EventArgs e) { Form_PatientInfoMEWS mews = new Form_PatientInfoMEWS(_patientGUID); mews.Owner = this; mews.Show(); } private void pictureBox13_Click(object sender, EventArgs e) { Form_PatientInfoNIHSS nihss = new Form_PatientInfoNIHSS(_patientGUID); nihss.Owner = this; nihss.Show(); } private void linklbl_GCS_Click(object sender, EventArgs e) { Form_PatientGCSList gcsList = new Form_PatientGCSList(_patientGUID); gcsList.Show(); } private void linklbl_PHI_Click(object sender, EventArgs e) { Form_PatientInfoPHIList phiList = new Form_PatientInfoPHIList(_patientGUID); phiList.Show(); } private void linklbl_RTS_Click(object sender, EventArgs e) { Form_PatientInfoRTSList rtsList = new Form_PatientInfoRTSList(_patientGUID); rtsList.Show(); } private void linklbl_MEWS_Click(object sender, EventArgs e) { Form_PatientInfoMEWSList mewsList = new Form_PatientInfoMEWSList(_patientGUID); mewsList.Show(); } private void linklbl_NIHSS_Click(object sender, EventArgs e) { Form_PatientInfoNIHSSList nihssList = new Form_PatientInfoNIHSSList(_patientGUID); nihssList.Show(); } private bool ShowChildrenForm(string p_ChildrenFormText) { int i; //依次检测当前窗体的子窗体 for (i = 0; i < MdiChildren.Length; i++) { //判断当前子窗体的Text属性值是否与传入的字符串值相同 if (MdiChildren[i].Name == p_ChildrenFormText) { //如果值相同则表示此子窗体为想要调用的子窗体,激活此子窗体并返回true值 MdiChildren[i].Activate(); return true; } } //如果没有相同的值则表示要调用的子窗体还没有被打开,返回false值 return false; } public void MdiChildrenClose() { //关闭所有已经打开的子窗体 if (MdiChildren.Length > 0) { foreach (Form myForm in this.MdiChildren) { myForm.Close(); } } } #region 基本信息 private void panelControl3_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfo")) { info = new Form_PatientInfo(_patientGUID); info.Owner = this; info.Show(); } } private void pictureBox15_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfo")) { info = new Form_PatientInfo(_patientGUID); info.Owner = this; info.Show(); } } private void panelControl22_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfo")) { info = new Form_PatientInfo(_patientGUID); info.Owner = this; info.Show(); } } private void labelControl19_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfo")) { info = new Form_PatientInfo(_patientGUID); info.Owner = this; info.Show(); } } private void pictureBox2_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfo")) { info = new Form_PatientInfo(_patientGUID); info.Owner = this; info.Show(); } } private void panelControl23_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfo")) { info = new Form_PatientInfo(_patientGUID); info.Owner = this; info.Show(); } } #endregion #region 体格检查 private void panelControl12_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_HealthCheckupInfo")) { health = new Form_HealthCheckupInfo(_patientGUID); health.Owner = this; health.Show(); } } private void panelControl30_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_HealthCheckupInfo")) { health = new Form_HealthCheckupInfo(_patientGUID); health.Owner = this; health.Show(); } } private void labelControl14_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_HealthCheckupInfo")) { health = new Form_HealthCheckupInfo(_patientGUID); health.Owner = this; health.Show(); } } private void pictureBox5_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_HealthCheckupInfo")) { health = new Form_HealthCheckupInfo(_patientGUID); health.Owner = this; health.Show(); } } private void panelControl31_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_HealthCheckupInfo")) { health = new Form_HealthCheckupInfo(_patientGUID); health.Owner = this; health.Show(); } } private void labelControl45_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_HealthCheckupInfo")) { health = new Form_HealthCheckupInfo(_patientGUID); health.Owner = this; health.Show(); } } private void pictureBox9_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_HealthCheckupInfo")) { health = new Form_HealthCheckupInfo(_patientGUID); health.Owner = this; health.Show(); } } #endregion #region 辅助检查 private void panelControl14_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_AssistantExaminationInfo")) { examination = new Form_AssistantExaminationInfo(_patientGUID); examination.Owner = this; examination.Show(); } } private void panelControl38_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_AssistantExaminationInfo")) { examination = new Form_AssistantExaminationInfo(_patientGUID); examination.Owner = this; examination.Show(); } } private void pictureBox1_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_AssistantExaminationInfo")) { examination = new Form_AssistantExaminationInfo(_patientGUID); examination.Owner = this; examination.Show(); } } private void panelControl39_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_AssistantExaminationInfo")) { examination = new Form_AssistantExaminationInfo(_patientGUID); examination.Owner = this; examination.Show(); } } private void labelControl28_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_AssistantExaminationInfo")) { examination = new Form_AssistantExaminationInfo(_patientGUID); examination.Owner = this; examination.Show(); } } private void pictureBox10_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_AssistantExaminationInfo")) { examination = new Form_AssistantExaminationInfo(_patientGUID); examination.Owner = this; examination.Show(); } } #endregion #region 专科检查 private void panelControl17_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_SpecialityCheckUpInfo")) { speciality = new Form_SpecialityCheckUpInfo(_patientGUID); speciality.Owner = this; speciality.Show(); } } private void panelControl46_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_SpecialityCheckUpInfo")) { speciality = new Form_SpecialityCheckUpInfo(_patientGUID); speciality.Owner = this; speciality.Show(); } } private void labelControl8_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_SpecialityCheckUpInfo")) { speciality = new Form_SpecialityCheckUpInfo(_patientGUID); speciality.Owner = this; speciality.Show(); } } private void pictureBox3_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_SpecialityCheckUpInfo")) { speciality = new Form_SpecialityCheckUpInfo(_patientGUID); speciality.Owner = this; speciality.Show(); } } private void panelControl47_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_SpecialityCheckUpInfo")) { speciality = new Form_SpecialityCheckUpInfo(_patientGUID); speciality.Owner = this; speciality.Show(); } } private void labelControl29_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_SpecialityCheckUpInfo")) { speciality = new Form_SpecialityCheckUpInfo(_patientGUID); speciality.Owner = this; speciality.Show(); } } private void pictureBox11_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_SpecialityCheckUpInfo")) { speciality = new Form_SpecialityCheckUpInfo(_patientGUID); speciality.Owner = this; speciality.Show(); } } #endregion #region 心电图 private void panelControl20_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientECG")) { ecg = new Form_PatientECG(_patientGUID, systemId); ecg.Owner = this; ecg.Show(); } } private void panelControl54_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientECG")) { ecg = new Form_PatientECG(_patientGUID, systemId); ecg.Owner = this; ecg.Show(); } } private void labelControl13_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientECG")) { ecg = new Form_PatientECG(_patientGUID, systemId); ecg.Owner = this; ecg.Show(); } } private void pictureBox7_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientECG")) { ecg = new Form_PatientECG(_patientGUID, systemId); ecg.Owner = this; ecg.Show(); } } private void panelControl55_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientECG")) { ecg = new Form_PatientECG(_patientGUID, systemId); ecg.Owner = this; ecg.Show(); } } private void labelControl42_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientECG")) { ecg = new Form_PatientECG(_patientGUID, systemId); ecg.Owner = this; ecg.Show(); } } private void pictureBox12_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientECG")) { ecg = new Form_PatientECG(_patientGUID, systemId); ecg.Owner = this; ecg.Show(); } } #endregion #region POCT private void panelControl21_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("POCT")) { poct = new POCT(_patientGUID, systemId); poct.Owner = this; poct.Show(); } } private void panelControl60_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("POCT")) { poct = new POCT(_patientGUID, systemId); poct.Owner = this; poct.Show(); } } private void labelControl25_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("POCT")) { poct = new POCT(_patientGUID, systemId); poct.Owner = this; poct.Show(); } } private void pictureBox8_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("POCT")) { poct = new POCT(_patientGUID, systemId); poct.Owner = this; poct.Show(); } } private void panelControl61_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("POCT")) { poct = new POCT(_patientGUID, systemId); poct.Owner = this; poct.Show(); } } private void labelControl43_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("POCT")) { poct = new POCT(_patientGUID, systemId); poct.Owner = this; poct.Show(); } } private void pictureBox13_MouseClick(object sender, MouseEventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("POCT")) { poct = new POCT(_patientGUID, systemId); poct.Owner = this; poct.Show(); } } #endregion #region PHI private void labelControl4_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfoPHI")) { Form_PatientInfoPHI pmi = new Form_PatientInfoPHI(_patientGUID); pmi.Owner = this; pmi.Show(); } } private void pictureBox16_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfoPHI")) { Form_PatientInfoPHI pmi = new Form_PatientInfoPHI(_patientGUID); pmi.Owner = this; pmi.Show(); } } #endregion #region RTS private void pictureBox17_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfoRTS")) { Form_PatientInfoRTS rts = new Form_PatientInfoRTS(_patientGUID); rts.Owner = this; rts.Show(); } } private void labelControl6_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfoRTS")) { Form_PatientInfoRTS rts = new Form_PatientInfoRTS(_patientGUID); rts.Owner = this; rts.Show(); } } #endregion #region MEWS private void pictureBox18_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfoMEWS")) { Form_PatientInfoMEWS mews = new Form_PatientInfoMEWS(_patientGUID); mews.Owner = this; mews.Show(); } } private void labelControl7_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfoMEWS")) { Form_PatientInfoMEWS mews = new Form_PatientInfoMEWS(_patientGUID); mews.Owner = this; mews.Show(); } } #endregion #region NIHSS private void pictureBox19_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfoNIHSS")) { Form_PatientInfoNIHSS nihss = new Form_PatientInfoNIHSS(_patientGUID); nihss.Owner = this; nihss.Show(); } } private void labelControl10_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfoNIHSS")) { Form_PatientInfoNIHSS nihss = new Form_PatientInfoNIHSS(_patientGUID); nihss.Owner = this; nihss.Show(); } } #endregion private void pictureBox20_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_EpidemicNotifcation")) { Form_EpidemicNotifcation form = new Form_EpidemicNotifcation(_patientGUID,""); form.Owner = this; form.Show(); } } #region GCS private void pictureBox14_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfoGCS")) { Form_PatientInfoGCS gcs = new Form_PatientInfoGCS(_patientGUID); gcs.Owner = this; gcs.Show(); } } private void labelControl12_Click(object sender, EventArgs e) { MdiChildrenClose(); if (!ShowChildrenForm("Form_PatientInfoGCS")) { Form_PatientInfoGCS gcs = new Form_PatientInfoGCS(_patientGUID); gcs.Owner = this; gcs.Show(); } } #endregion } }