//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop
#include <string>
#include <iostream>
#include "Unit2.h"
#include "Unit1.h"

//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
AnsiString uziv_jmeno;
AnsiString uziv_spoluprace;
AnsiString uziv_skupina;
AnsiString uziv_predmet;
AnsiString uziv_dalsi;
TForm2 *Form2;

//---------------------------------------------------------------------------
__fastcall TForm2::TForm2(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm2::button_uzivatelClick(TObject *Sender)     //ulozeni informaci o uzivateli do prislusnych promennych
{
uziv_jmeno = Form2->edit_jmeno->Text ;
uziv_spoluprace = Form2->edit_spoluprace->Text ;
uziv_skupina = Form2->edit_skupina->Text ;
uziv_predmet = Form2->edit_predmet->Text ;
uziv_dalsi = Form2->edit_dalsi->Text ;
Form2->Close();
}
//---------------------------------------------------------------------------

