医疗文书粘贴处理换行问题
This commit is contained in:
parent
85131b43d2
commit
949ef914f3
@ -26,6 +26,7 @@ namespace AIMS
|
||||
frmFeesRecord frmchargRecord = new frmFeesRecord(_record, "麻醉");
|
||||
frmchargRecord.Show();
|
||||
frmchargRecord.BringToFront();
|
||||
frmchargRecord.TopMost = true;
|
||||
}
|
||||
}
|
||||
public static void OpenEMRS(int patientid, int applyid)
|
||||
|
||||
@ -1578,6 +1578,21 @@ namespace AIMS.OperationAanesthesia
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//有机械呼吸情况自主呼吸
|
||||
foreach (var pdTemp in physioDatas)
|
||||
{
|
||||
if (pdTemp.PhysioDataConfigId == 12)
|
||||
{
|
||||
foreach (var temp in physioDatas)
|
||||
{
|
||||
if (temp.PhysioDataConfigId == 3)
|
||||
{
|
||||
temp.Value = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach (var pdTemp in physioDatas)
|
||||
{
|
||||
if (pdTemp.Value < 0) continue;
|
||||
@ -2570,8 +2585,6 @@ namespace AIMS.OperationAanesthesia
|
||||
ReviewEvent();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void label11_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult dialog = MessageBox.Show("是否重启采集程序!", "系统提示", MessageBoxButtons.YesNo);
|
||||
@ -2580,5 +2593,7 @@ namespace AIMS.OperationAanesthesia
|
||||
PublicMethod.StartCollectorDataProgram(true);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -347,9 +347,8 @@ namespace AIMS.OperationAanesthesia
|
||||
{
|
||||
if (frmAnasRecord.State == AIMSExtension.EditState.BROWSE)
|
||||
{
|
||||
frmAnasRecord.Show();
|
||||
frmAnasRecord.BringToFront();
|
||||
frmAnasRecord.TopMost = true;
|
||||
frmAnasRecord.Show(this);
|
||||
frmAnasRecord.Focus();
|
||||
}
|
||||
else
|
||||
frmAnasRecord.ShowDialog();
|
||||
|
||||
@ -624,7 +624,7 @@ namespace AIMSExtension
|
||||
System.Diagnostics.Process[] myProcesses = System.Diagnostics.Process.GetProcesses();
|
||||
foreach (System.Diagnostics.Process myProcess in myProcesses)
|
||||
{
|
||||
if (myProcess.ProcessName == "DataCollector2")
|
||||
if (myProcess.ProcessName == "DataCollector2" || myProcess.ProcessName == "DataCollector")
|
||||
{
|
||||
myProcess.CloseMainWindow();
|
||||
myProcess.Kill();
|
||||
@ -636,7 +636,7 @@ namespace AIMSExtension
|
||||
}
|
||||
if (Directory.Exists(@"C:\采集程序"))
|
||||
{
|
||||
if (!PublicMethod.FindProcess("DataCollector2"))
|
||||
if (!PublicMethod.FindProcess("DataCollector2") && !PublicMethod.FindProcess("DataCollector"))
|
||||
{
|
||||
Process myprocess = new Process();
|
||||
ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\采集程序\DataCollector.exe");
|
||||
|
||||
@ -29,11 +29,27 @@ namespace DocumentManagement
|
||||
eet = new ElementEventTemplate();
|
||||
eet.MouseClick += new ElementMouseEventHandler(eetChk_MouseClick);
|
||||
eet.MouseDblClick += Eet_MouseDblClick;
|
||||
eet.KeyUp += Eet_KeyUp;
|
||||
eet.ContentChanged += new ContentChangedEventHandler(eet_ContentChanged);
|
||||
myEditControl.GlobalEventTemplate_Element = eet;
|
||||
|
||||
}
|
||||
|
||||
private void Eet_KeyUp(object eventSender, ElementKeyEventArgs args)
|
||||
{
|
||||
if (args.KeyCode == Keys.V && args.Control == true)
|
||||
{
|
||||
if ((eventSender as XTextDocument).CurrentInputField != null)
|
||||
{
|
||||
var element = (eventSender as XTextDocument).CurrentInputField;
|
||||
if (element != null)
|
||||
{
|
||||
element.Text = element.Text.Replace("\r", "").Replace("\n","");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public CompilerErrorCollection Errors { get { return cr.Errors; } }
|
||||
|
||||
void eet_ContentChanged(object eventSender, ContentChangedEventArgs args)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user