예제 #1
0
 private void InitializeLaboratyGrid()
 {
     LaboratoryGridScheme = new GridScheme();
     LaboratoryGridScheme.AddColumn("code", "Kod badania").AddColumn("name", "Nazwa").AddColumn("result", "Wynik");
     LaboratoryGridScheme.AddColumn("status", "Status").AddColumn("note", "Notatka kierownika laboratorium").AddColumn("id", "ID", true);
     LaboratoryGrid = new GridWrapper(laboratoryDataGrid, LaboratoryGridScheme);
 }
예제 #2
0
 private void InitializeExaminationsGrid()
 {
     ExaminationGridScheme = new GridScheme();
     ExaminationGridScheme.AddColumn("code", "Kod badania").AddColumn("name", "Nazwa").AddColumn("result", "Wynik");
     ExaminationGridScheme.AddColumn("id", "ID", true);
     ExaminationGrid = new GridWrapper(examinationsDataGrid, ExaminationGridScheme);
 }
예제 #3
0
 private void InitializeGrid()
 {
     examinationGridScheme = new GridScheme();
     examinationGridScheme.AddColumn("exCode", "Kod badania").AddColumn("name", "Nazwa").AddColumn("lab", "Laborant").AddColumn("reqDT", "Data zgłoszenia").AddColumn("complDT", "Data wykonania").AddColumn("confDT", "Data zatwierdzenia").AddColumn("res", "Wynik").AddColumn("status", "Status");
     examinationGridScheme.AddColumn("id", "ID badania", true);
     examinationCustomGrid = new GridWrapper(examinationsDataGrid, examinationGridScheme);
 }
 private void InitializeGrid()
 {
     usersGridScheme = new GridScheme();
     usersGridScheme.AddColumn("fName", "Imię").AddColumn("lName", "Nazwisko");
     usersGridScheme.AddColumn("fromDT", "Konto ważne od:").AddColumn("toDT", "Konto ważne do:").AddColumn("login", "Login").AddColumn("position", "Stanowisko");
     usersGridScheme.AddColumn("id", "ID pracownika", true);
     usersCustomGrid = new GridWrapper(usersDataGrid, usersGridScheme);
 }
예제 #5
0
 private void InitializeAppointmentGrid()
 {
     gridScheme = new GridScheme();
     gridScheme.AddColumn("firstName", "Imię pacjenta").AddColumn("lastName", "Nazwisko pacjenta").AddColumn("desc", "Opis");
     gridScheme.AddColumn("diag", "Diagnoza").AddColumn("status", "Status").AddColumn("registerDT", "Data rejestracji").AddColumn("completeDT", "Data wizyty");
     gridScheme.AddColumn("id", "ID wizyty", true);
     custromGrid = new GridWrapper(appointmentsDataGrid, gridScheme);
 }
예제 #6
0
 public GridWrapper(DataGridView grid, GridScheme scheme)
 {
     _Grid       = grid;
     _gridScheme = scheme;
     InitializeColumns();
     _Grid.AutoGenerateColumns = false;
     _Grid.RowHeadersVisible   = false;
     _Grid.AllowUserToAddRows  = false;
     FitToWindow();
 }
        private void InitializeGrids()
        {
            patientsGridScheme = new GridScheme();
            patientsGridScheme.AddColumn("firstName", "Imię pacjenta").AddColumn("lastName", "Nazwisko pacjenta");
            patientsGridScheme.AddColumn("pesel", "PESEL").AddColumn("birthDT", "Data urodzenia").AddColumn("insurNo", "Numer ubezpieczenia").AddColumn("phone", "Numer telefonu");
            patientsGridScheme.AddColumn("id", "ID osoby", true);
            patientsCustomGrid = new GridWrapper(patientsDataGrid, patientsGridScheme);

            appointmentsGridScheme = new GridScheme();
            appointmentsGridScheme.AddColumn("firstName", "Imię pacjenta").AddColumn("lastName", "Nazwisko pacjenta").AddColumn("desc", "Opis");
            appointmentsGridScheme.AddColumn("diag", "Diagnoza").AddColumn("status", "Status").AddColumn("registerDT", "Data rejestracji").AddColumn("completeDT", "Data wizyty");
            appointmentsGridScheme.AddColumn("id", "ID wizyty", true);
            appointmentsCustomGrid = new GridWrapper(appointmentsDataGrid, appointmentsGridScheme);
        }
예제 #8
0
        private void InitializeGrids()
        {
            appointmentsGridScheme = new GridScheme();
            appointmentsGridScheme.AddColumn("diag", "Diagnoza").AddColumn("status", "Status").AddColumn("registerDT", "Data rejestracji").AddColumn("completeDT", "Data wizyty");
            appointmentsGridScheme.AddColumn("id", "ID wizyty", true);
            appointmentsCustomGrid = new GridWrapper(appointmentsDataGrid, appointmentsGridScheme);

            examinationGridScheme = new GridScheme();
            examinationGridScheme.AddColumn("exCode", "Kod badania").AddColumn("name", "Nazwa").AddColumn("type", "Typ").AddColumn("res", "Wynik");
            examinationsCustomGrid = new GridWrapper(examinationsDataGrid, examinationGridScheme);

            laboratoryGridScheme = new GridScheme();
            laboratoryGridScheme.AddColumn("requestDT", "Data zgłoszenia").AddColumn("labPers", "Laborant").AddColumn("stat", "Status").AddColumn("res", "Wynik").AddColumn("supNote", "Notatka kierownika laboratorium").AddColumn("dNote", "Notatka lekarza");
            laboratoryGridScheme.AddColumn("exCode", "Kod badania").AddColumn("id", "ID badania", true);
            laboratoryCustomGrid = new GridWrapper(laboratoryDataGrid, laboratoryGridScheme);
        }
예제 #9
0
 private void InitializeGrids()
 {
     examinationGridScheme = new GridScheme();
     examinationGridScheme.AddColumn("exCode", "Kod badania").AddColumn("name", "Nazwa").AddColumn("type", "Typ");
     examinationsCustomGrid = new GridWrapper(dataGridView1, examinationGridScheme);
 }