- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
if (class_name='Tnabl_Form') then
begin
nabl_Form:=Tnabl_Form.create(Application);
with nabl_Form do
begin
Caption := 'Наблюдение '+dop_caption;
tool_btn_task_bar:=
create_tb(1,Handle,'Наблюдение','Наблюдение '+dop_caption);
Name:=tool_btn_task_bar.Name;
about_kart_Frame1.id_med_kart:=id_parent;
end;
nabl_Form.id_doc:=id_doc;
nabl_Form._init;
Result:=nabl_Form;
end;
if class_name='To_spiski_5201_Form' then
begin
o_spiski_5201_Form:=To_spiski_5201_Form.create(Application);
o_spiski_5201_Form.FormStyle:=fsMDIChild;
o_spiski_5201_Form.tool_btn_task_bar:=
create_tb(0, o_spiski_5201_Form.Handle,'Списки больных','Списки больных'+dop_caption);
o_spiski_5201_Form.Name:=o_spiski_5201_Form.tool_btn_task_bar.Name;
result:=o_spiski_5201_Form;
end;
if (class_name='Td_diagn_Form') then
begin
d_diagn_Form:=Td_diagn_Form.create(Application);
with d_diagn_Form do
begin
Caption := 'Постановка диагноза '+dop_caption;
tool_btn_task_bar:=
create_tb(1,Handle,'Диагноз','Постановка диагноза '+dop_caption);
Name:=tool_btn_task_bar.Name;
about_kart_Frame1.id_med_kart:=id_parent;
end;
d_diagn_Form.id_doc:=id_doc;
d_diagn_Form._init;
Result:=d_diagn_Form;
end;
//И ещё около 600 строк в том же духе
guest 12.03.2016 11:23 # 0
guest 12.03.2016 17:48 # 0