Итог
This commit is contained in:
parent
17d3ba1026
commit
bbefbfc205
@ -67,7 +67,7 @@ namespace RegistrationPatientsPolyclinic
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
_container.Resolve<FormDrug>().ShowDialog();
|
_container.Resolve<FormDrugs>().ShowDialog();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
// labelGrams
|
// labelGrams
|
||||||
//
|
//
|
||||||
labelGrams.AutoSize = true;
|
labelGrams.AutoSize = true;
|
||||||
labelGrams.Location = new Point(25, 91);
|
labelGrams.Location = new Point(25, 151);
|
||||||
labelGrams.Name = "labelGrams";
|
labelGrams.Name = "labelGrams";
|
||||||
labelGrams.Size = new Size(51, 20);
|
labelGrams.Size = new Size(51, 20);
|
||||||
labelGrams.TabIndex = 1;
|
labelGrams.TabIndex = 1;
|
||||||
@ -59,7 +59,7 @@
|
|||||||
// labelDescription
|
// labelDescription
|
||||||
//
|
//
|
||||||
labelDescription.AutoSize = true;
|
labelDescription.AutoSize = true;
|
||||||
labelDescription.Location = new Point(25, 142);
|
labelDescription.Location = new Point(25, 222);
|
||||||
labelDescription.Name = "labelDescription";
|
labelDescription.Name = "labelDescription";
|
||||||
labelDescription.Size = new Size(85, 20);
|
labelDescription.Size = new Size(85, 20);
|
||||||
labelDescription.TabIndex = 2;
|
labelDescription.TabIndex = 2;
|
||||||
@ -67,14 +67,14 @@
|
|||||||
//
|
//
|
||||||
// textBoxGrams
|
// textBoxGrams
|
||||||
//
|
//
|
||||||
textBoxGrams.Location = new Point(137, 88);
|
textBoxGrams.Location = new Point(137, 151);
|
||||||
textBoxGrams.Name = "textBoxGrams";
|
textBoxGrams.Name = "textBoxGrams";
|
||||||
textBoxGrams.Size = new Size(125, 27);
|
textBoxGrams.Size = new Size(125, 27);
|
||||||
textBoxGrams.TabIndex = 4;
|
textBoxGrams.TabIndex = 4;
|
||||||
//
|
//
|
||||||
// buttonSave
|
// buttonSave
|
||||||
//
|
//
|
||||||
buttonSave.Location = new Point(16, 317);
|
buttonSave.Location = new Point(16, 373);
|
||||||
buttonSave.Name = "buttonSave";
|
buttonSave.Name = "buttonSave";
|
||||||
buttonSave.Size = new Size(94, 29);
|
buttonSave.Size = new Size(94, 29);
|
||||||
buttonSave.TabIndex = 6;
|
buttonSave.TabIndex = 6;
|
||||||
@ -84,7 +84,7 @@
|
|||||||
//
|
//
|
||||||
// buttonCancel
|
// buttonCancel
|
||||||
//
|
//
|
||||||
buttonCancel.Location = new Point(168, 317);
|
buttonCancel.Location = new Point(168, 373);
|
||||||
buttonCancel.Name = "buttonCancel";
|
buttonCancel.Name = "buttonCancel";
|
||||||
buttonCancel.Size = new Size(94, 29);
|
buttonCancel.Size = new Size(94, 29);
|
||||||
buttonCancel.TabIndex = 7;
|
buttonCancel.TabIndex = 7;
|
||||||
@ -94,7 +94,7 @@
|
|||||||
//
|
//
|
||||||
// textBoxDescription
|
// textBoxDescription
|
||||||
//
|
//
|
||||||
textBoxDescription.Location = new Point(137, 142);
|
textBoxDescription.Location = new Point(137, 222);
|
||||||
textBoxDescription.Multiline = true;
|
textBoxDescription.Multiline = true;
|
||||||
textBoxDescription.Name = "textBoxDescription";
|
textBoxDescription.Name = "textBoxDescription";
|
||||||
textBoxDescription.Size = new Size(125, 123);
|
textBoxDescription.Size = new Size(125, 123);
|
||||||
@ -105,7 +105,7 @@
|
|||||||
checkedListBoxName.FormattingEnabled = true;
|
checkedListBoxName.FormattingEnabled = true;
|
||||||
checkedListBoxName.Location = new Point(137, 34);
|
checkedListBoxName.Location = new Point(137, 34);
|
||||||
checkedListBoxName.Name = "checkedListBoxName";
|
checkedListBoxName.Name = "checkedListBoxName";
|
||||||
checkedListBoxName.Size = new Size(150, 26);
|
checkedListBoxName.Size = new Size(150, 92);
|
||||||
checkedListBoxName.TabIndex = 9;
|
checkedListBoxName.TabIndex = 9;
|
||||||
//
|
//
|
||||||
// FormDrug
|
// FormDrug
|
||||||
|
@ -88,7 +88,15 @@ namespace RegistrationPatientsPolyclinic.Forms
|
|||||||
|
|
||||||
private void FormDrags_Load(object sender, EventArgs e)
|
private void FormDrags_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
LoadList();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show(ex.Message, "Ошибка при загрузке",
|
||||||
|
MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool TryGetIdentifierFromSelectedRow(out int id) // возвращает смог н извлечь или нет
|
private bool TryGetIdentifierFromSelectedRow(out int id) // возвращает смог н извлечь или нет
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using RegistrationPatientsPolyclinic.Entities;
|
using RegistrationPatientsPolyclinic.Entities;
|
||||||
|
using RegistrationPatientsPolyclinic.Repositories.Implementations;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@ -9,7 +10,7 @@ namespace RegistrationPatientsPolyclinic.Repositories;
|
|||||||
|
|
||||||
public interface IDoctorPaymentsRepository
|
public interface IDoctorPaymentsRepository
|
||||||
{
|
{
|
||||||
IEnumerable<IDoctorPaymentsRepository> ReadDoctorPayments();
|
IEnumerable<DoctorPayments> ReadDoctorPayments();
|
||||||
|
|
||||||
DoctorPayments ReadDoctorPaymentsById(int id);
|
DoctorPayments ReadDoctorPaymentsById(int id);
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ public class DoctorPaymentsRepository : IDoctorPaymentsRepository
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<IDoctorPaymentsRepository> ReadDoctorPayments()
|
public IEnumerable<DoctorPayments> ReadDoctorPayments()
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user