Hi !!!

I have so strange problem... i dont know what i have to do..

Quote from form1.h :

#pragma once
#include "Center.h"
#include <time.h>
#include <windows.h>


namespace RCK {

    using namespace System;
    using namespace System::ComponentModel;
    using namespace System::Collections;
    using namespace System::Windows::Forms;
    using namespace System::Data;
    using namespace System::Drawing;

    /// <summary>
    /// Summary for Form1
    ///
    /// WARNING: If you change the name of this class, you will need to change the
    ///          'Resource File Name' property for the managed resource compiler tool
    ///          associated with all .resx files this class depends on.  Otherwise,
    ///          the designers will not be able to interact properly with localized
    ///          resources associated with this form.
    /// </summary>
    public ref class Form1 : public System::Windows::Forms::Form
    {
    public:
        Form1(void)
        {
            InitializeComponent();
            CCenter^ Engine;
            Engine = gcnew CCenter(this);
            //
            //TODO: Add the constructor code here
            //
        }

Center.h

#pragma once
#include "StandsQue.h"
#include "Giver.h"
#include "StandsQue.h"
#include "Form1.h"

public ref class CCenter
{
public:
    CCenter();
    ~CCenter(void);
    void AddGiver(void);
    void Work(void);
    void AddStand(System::Int32 StandsNumber);
private:
    RCK::Form1 Interfejs;
};

And compiler saying to me :P

1>d:\moje dokumenty\visual studio 2008\projects\rck\rck\Center.h(16) : error C2653: 'RCK' : is not a class or namespace name

Someone know what is this ?? Please...

ok..sorry.. i repaired this.. can you help me ?

You might post the Form1.h.

Form1.h

#pragma once
#include "Center.h"
#include <time.h>
#include <windows.h>


namespace RCK {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Summary for Form1
	///
	/// WARNING: If you change the name of this class, you will need to change the
	///          'Resource File Name' property for the managed resource compiler tool
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();
	//		CCenter^ Engine;
//			Engine = gcnew CCenter(this);
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::MenuStrip^  menuStrip1;
	protected: 
	private: System::Windows::Forms::ToolStripMenuItem^  opcjeToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  zamknijToolStripMenuItem;



	private: System::Windows::Forms::Timer^  timer1;
	private: System::Windows::Forms::Timer^  timer2;
	private: System::Windows::Forms::StatusStrip^  statusStrip1;
	private: System::Windows::Forms::ToolStripStatusLabel^  StatusLabel;
	private: System::Windows::Forms::ListView^  RecStands;



	private: System::Windows::Forms::ColumnHeader^  Numer;
	private: System::Windows::Forms::ColumnHeader^  Pracuje;
	private: System::Windows::Forms::ListView^  CheckStands;




	private: System::Windows::Forms::ColumnHeader^  columnHeader1;
	private: System::Windows::Forms::ColumnHeader^  columnHeader2;
	private: System::Windows::Forms::ListView^  DocStands;



	private: System::Windows::Forms::ColumnHeader^  columnHeader3;
	private: System::Windows::Forms::ColumnHeader^  columnHeader4;
	private: System::Windows::Forms::ListView^  CafStands;



	private: System::Windows::Forms::ColumnHeader^  columnHeader5;
	private: System::Windows::Forms::ColumnHeader^  columnHeader6;
	private: System::Windows::Forms::ListView^  DonStands;


	private: System::Windows::Forms::ColumnHeader^  columnHeader7;
	private: System::Windows::Forms::ColumnHeader^  columnHeader8;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::Label^  label5;
	private: System::Windows::Forms::Label^  label6;
	private: System::Windows::Forms::Label^  label7;
	private: System::Windows::Forms::Label^  label8;
	private: System::Windows::Forms::Label^  StanPoczekalni;
	private: System::Windows::Forms::Label^  StanKonta;


	private: System::Windows::Forms::Label^  label11;
	private: System::Windows::Forms::Label^  StanZadowolenia;

	private: System::Windows::Forms::Label^  label13;
	private: System::Windows::Forms::Label^  label14;
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::Label^  label15;
	private: System::Windows::Forms::Label^  label16;
	private: System::Windows::Forms::Label^  label17;
	private: System::Windows::Forms::Label^  RecWait;
	private: System::Windows::Forms::Label^  LabWait;
	private: System::Windows::Forms::Label^  DocWait;
	private: System::Windows::Forms::Label^  CafWait;
	private: System::Windows::Forms::Label^  DonWait;






	private: System::Windows::Forms::Button^  button2;
	private: System::Windows::Forms::Button^  button3;
	private: System::Windows::Forms::Button^  button4;
	private: System::Windows::Forms::Button^  button5;
	private: System::Windows::Forms::Button^  button6;
	private: System::Windows::Forms::ToolStripMenuItem^  graToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  nowaGraToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  startToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  aboutToolStripMenuItem;
	private: System::Windows::Forms::ToolStripStatusLabel^  toolStripStatusLabel1;
	private: System::Windows::Forms::ToolStripProgressBar^  toolStripProgressBar1;










	private: System::ComponentModel::IContainer^  components;

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>


#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->components = (gcnew System::ComponentModel::Container());
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
			this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());
			this->opcjeToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->zamknijToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->graToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->nowaGraToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->startToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->timer1 = (gcnew System::Windows::Forms::Timer(this->components));
			this->timer2 = (gcnew System::Windows::Forms::Timer(this->components));
			this->statusStrip1 = (gcnew System::Windows::Forms::StatusStrip());
			this->StatusLabel = (gcnew System::Windows::Forms::ToolStripStatusLabel());
			this->toolStripStatusLabel1 = (gcnew System::Windows::Forms::ToolStripStatusLabel());
			this->toolStripProgressBar1 = (gcnew System::Windows::Forms::ToolStripProgressBar());
			this->RecStands = (gcnew System::Windows::Forms::ListView());
			this->Numer = (gcnew System::Windows::Forms::ColumnHeader());
			this->Pracuje = (gcnew System::Windows::Forms::ColumnHeader());
			this->CheckStands = (gcnew System::Windows::Forms::ListView());
			this->columnHeader1 = (gcnew System::Windows::Forms::ColumnHeader());
			this->columnHeader2 = (gcnew System::Windows::Forms::ColumnHeader());
			this->DocStands = (gcnew System::Windows::Forms::ListView());
			this->columnHeader3 = (gcnew System::Windows::Forms::ColumnHeader());
			this->columnHeader4 = (gcnew System::Windows::Forms::ColumnHeader());
			this->CafStands = (gcnew System::Windows::Forms::ListView());
			this->columnHeader5 = (gcnew System::Windows::Forms::ColumnHeader());
			this->columnHeader6 = (gcnew System::Windows::Forms::ColumnHeader());
			this->DonStands = (gcnew System::Windows::Forms::ListView());
			this->columnHeader7 = (gcnew System::Windows::Forms::ColumnHeader());
			this->columnHeader8 = (gcnew System::Windows::Forms::ColumnHeader());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->label5 = (gcnew System::Windows::Forms::Label());
			this->label6 = (gcnew System::Windows::Forms::Label());
			this->label7 = (gcnew System::Windows::Forms::Label());
			this->label8 = (gcnew System::Windows::Forms::Label());
			this->StanPoczekalni = (gcnew System::Windows::Forms::Label());
			this->StanKonta = (gcnew System::Windows::Forms::Label());
			this->label11 = (gcnew System::Windows::Forms::Label());
			this->StanZadowolenia = (gcnew System::Windows::Forms::Label());
			this->label13 = (gcnew System::Windows::Forms::Label());
			this->label14 = (gcnew System::Windows::Forms::Label());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->label15 = (gcnew System::Windows::Forms::Label());
			this->label16 = (gcnew System::Windows::Forms::Label());
			this->label17 = (gcnew System::Windows::Forms::Label());
			this->RecWait = (gcnew System::Windows::Forms::Label());
			this->LabWait = (gcnew System::Windows::Forms::Label());
			this->DocWait = (gcnew System::Windows::Forms::Label());
			this->CafWait = (gcnew System::Windows::Forms::Label());
			this->DonWait = (gcnew System::Windows::Forms::Label());
			this->button2 = (gcnew System::Windows::Forms::Button());
			this->button3 = (gcnew System::Windows::Forms::Button());
			this->button4 = (gcnew System::Windows::Forms::Button());
			this->button5 = (gcnew System::Windows::Forms::Button());
			this->button6 = (gcnew System::Windows::Forms::Button());
			this->menuStrip1->SuspendLayout();
			this->statusStrip1->SuspendLayout();
			this->SuspendLayout();
			// 
			// menuStrip1
			// 
			this->menuStrip1->BackColor = System::Drawing::Color::Red;
			this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {this->opcjeToolStripMenuItem, 
				this->graToolStripMenuItem, this->aboutToolStripMenuItem});
			this->menuStrip1->Location = System::Drawing::Point(0, 0);
			this->menuStrip1->Name = L"menuStrip1";
			this->menuStrip1->Size = System::Drawing::Size(792, 24);
			this->menuStrip1->TabIndex = 0;
			this->menuStrip1->Text = L"menuStrip1";
			// 
			// opcjeToolStripMenuItem
			// 
			this->opcjeToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) {this->zamknijToolStripMenuItem});
			this->opcjeToolStripMenuItem->Name = L"opcjeToolStripMenuItem";
			this->opcjeToolStripMenuItem->Size = System::Drawing::Size(47, 20);
			this->opcjeToolStripMenuItem->Text = L"Opcje";
			// 
			// zamknijToolStripMenuItem
			// 
			this->zamknijToolStripMenuItem->Name = L"zamknijToolStripMenuItem";
			this->zamknijToolStripMenuItem->Size = System::Drawing::Size(121, 22);
			this->zamknijToolStripMenuItem->Text = L"Zamknij";
			this->zamknijToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::zamknijToolStripMenuItem_Click);
			// 
			// graToolStripMenuItem
			// 
			this->graToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {this->nowaGraToolStripMenuItem, 
				this->startToolStripMenuItem});
			this->graToolStripMenuItem->Name = L"graToolStripMenuItem";
			this->graToolStripMenuItem->Size = System::Drawing::Size(36, 20);
			this->graToolStripMenuItem->Text = L"Gra";
			// 
			// nowaGraToolStripMenuItem
			// 
			this->nowaGraToolStripMenuItem->Name = L"nowaGraToolStripMenuItem";
			this->nowaGraToolStripMenuItem->Size = System::Drawing::Size(131, 22);
			this->nowaGraToolStripMenuItem->Text = L"Nowa gra";
			// 
			// startToolStripMenuItem
			// 
			this->startToolStripMenuItem->Name = L"startToolStripMenuItem";
			this->startToolStripMenuItem->Size = System::Drawing::Size(131, 22);
			this->startToolStripMenuItem->Text = L"Start";
			// 
			// aboutToolStripMenuItem
			// 
			this->aboutToolStripMenuItem->Name = L"aboutToolStripMenuItem";
			this->aboutToolStripMenuItem->Size = System::Drawing::Size(48, 20);
			this->aboutToolStripMenuItem->Text = L"About";
			// 
			// timer1
			// 
			this->timer1->Interval = 1000;
			this->timer1->Tick += gcnew System::EventHandler(this, &Form1::timer1_Tick);
			// 
			// timer2
			// 
			this->timer2->Enabled = true;
			this->timer2->Interval = 1000;
			this->timer2->Tick += gcnew System::EventHandler(this, &Form1::timer2_Tick);
			// 
			// statusStrip1
			// 
			this->statusStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {this->StatusLabel, this->toolStripStatusLabel1, 
				this->toolStripProgressBar1});
			this->statusStrip1->Location = System::Drawing::Point(0, 546);
			this->statusStrip1->Name = L"statusStrip1";
			this->statusStrip1->Size = System::Drawing::Size(792, 22);
			this->statusStrip1->TabIndex = 3;
			this->statusStrip1->Text = L"statusStrip1";
			// 
			// StatusLabel
			// 
			this->StatusLabel->Name = L"StatusLabel";
			this->StatusLabel->Size = System::Drawing::Size(77, 17);
			this->StatusLabel->Text = L"Aktualny czas:";
			// 
			// toolStripStatusLabel1
			// 
			this->toolStripStatusLabel1->Name = L"toolStripStatusLabel1";
			this->toolStripStatusLabel1->Size = System::Drawing::Size(150, 17);
			this->toolStripStatusLabel1->Text = L"Przybywanie nowych dawców";
			// 
			// toolStripProgressBar1
			// 
			this->toolStripProgressBar1->Name = L"toolStripProgressBar1";
			this->toolStripProgressBar1->Size = System::Drawing::Size(100, 16);
			this->toolStripProgressBar1->Step = 1;
			// 
			// RecStands
			// 
			this->RecStands->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(2) {this->Numer, this->Pracuje});
			this->RecStands->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
			this->RecStands->Location = System::Drawing::Point(12, 91);
			this->RecStands->Name = L"RecStands";
			this->RecStands->ShowGroups = false;
			this->RecStands->Size = System::Drawing::Size(121, 302);
			this->RecStands->TabIndex = 4;
			this->RecStands->UseCompatibleStateImageBehavior = false;
			this->RecStands->View = System::Windows::Forms::View::Details;
			// 
			// Numer
			// 
			this->Numer->Text = L"Numer";
			this->Numer->Width = 55;
			// 
			// Pracuje
			// 
			this->Pracuje->Text = L"Pracuje";
			// 
			// CheckStands
			// 
			this->CheckStands->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(2) {this->columnHeader1, 
				this->columnHeader2});
			this->CheckStands->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
			this->CheckStands->Location = System::Drawing::Point(139, 91);
			this->CheckStands->Name = L"CheckStands";
			this->CheckStands->ShowGroups = false;
			this->CheckStands->Size = System::Drawing::Size(121, 302);
			this->CheckStands->TabIndex = 5;
			this->CheckStands->UseCompatibleStateImageBehavior = false;
			this->CheckStands->View = System::Windows::Forms::View::Details;
			// 
			// columnHeader1
			// 
			this->columnHeader1->Text = L"Numer";
			this->columnHeader1->Width = 55;
			// 
			// columnHeader2
			// 
			this->columnHeader2->Text = L"Pracuje";
			// 
			// DocStands
			// 
			this->DocStands->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(2) {this->columnHeader3, this->columnHeader4});
			this->DocStands->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
			this->DocStands->Location = System::Drawing::Point(266, 91);
			this->DocStands->Name = L"DocStands";
			this->DocStands->ShowGroups = false;
			this->DocStands->Size = System::Drawing::Size(121, 302);
			this->DocStands->TabIndex = 6;
			this->DocStands->UseCompatibleStateImageBehavior = false;
			this->DocStands->View = System::Windows::Forms::View::Details;
			// 
			// columnHeader3
			// 
			this->columnHeader3->Text = L"Numer";
			this->columnHeader3->Width = 55;
			// 
			// columnHeader4
			// 
			this->columnHeader4->Text = L"Pracuje";
			// 
			// CafStands
			// 
			this->CafStands->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(2) {this->columnHeader5, this->columnHeader6});
			this->CafStands->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
			this->CafStands->Location = System::Drawing::Point(393, 91);
			this->CafStands->Name = L"CafStands";
			this->CafStands->ShowGroups = false;
			this->CafStands->Size = System::Drawing::Size(121, 302);
			this->CafStands->TabIndex = 7;
			this->CafStands->UseCompatibleStateImageBehavior = false;
			this->CafStands->View = System::Windows::Forms::View::Details;
			// 
			// columnHeader5
			// 
			this->columnHeader5->Text = L"Numer";
			this->columnHeader5->Width = 55;
			// 
			// columnHeader6
			// 
			this->columnHeader6->Text = L"Pracuje";
			// 
			// DonStands
			// 
			this->DonStands->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^  >(2) {this->columnHeader7, this->columnHeader8});
			this->DonStands->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
			this->DonStands->Location = System::Drawing::Point(520, 91);
			this->DonStands->Name = L"DonStands";
			this->DonStands->ShowGroups = false;
			this->DonStands->Size = System::Drawing::Size(121, 302);
			this->DonStands->TabIndex = 8;
			this->DonStands->UseCompatibleStateImageBehavior = false;
			this->DonStands->View = System::Windows::Forms::View::Details;
			// 
			// columnHeader7
			// 
			this->columnHeader7->Text = L"Numer";
			this->columnHeader7->Width = 55;
			// 
			// columnHeader8
			// 
			this->columnHeader8->Text = L"Pracuje";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->BackColor = System::Drawing::Color::White;
			this->label2->Font = (gcnew System::Drawing::Font(L"Times New Roman", 15, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label2->Location = System::Drawing::Point(11, 34);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(84, 22);
			this->label2->TabIndex = 9;
			this->label2->Text = L"Recepcja";
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->BackColor = System::Drawing::Color::White;
			this->label3->Font = (gcnew System::Drawing::Font(L"Times New Roman", 15, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label3->Location = System::Drawing::Point(135, 34);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(117, 22);
			this->label3->TabIndex = 10;
			this->label3->Text = L"Laboratorium";
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->BackColor = System::Drawing::Color::White;
			this->label4->Font = (gcnew System::Drawing::Font(L"Times New Roman", 15, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label4->Location = System::Drawing::Point(262, 34);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(72, 22);
			this->label4->TabIndex = 11;
			this->label4->Text = L"Lekarze";
			// 
			// label5
			// 
			this->label5->AutoSize = true;
			this->label5->BackColor = System::Drawing::Color::White;
			this->label5->Font = (gcnew System::Drawing::Font(L"Times New Roman", 15, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label5->Location = System::Drawing::Point(389, 34);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(69, 22);
			this->label5->TabIndex = 12;
			this->label5->Text = L"Kafejki";
			// 
			// label6
			// 
			this->label6->AutoSize = true;
			this->label6->BackColor = System::Drawing::Color::White;
			this->label6->Font = (gcnew System::Drawing::Font(L"Times New Roman", 15, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label6->Location = System::Drawing::Point(516, 34);
			this->label6->Name = L"label6";
			this->label6->Size = System::Drawing::Size(105, 22);
			this->label6->TabIndex = 13;
			this->label6->Text = L"Sala pobrań";
			// 
			// label7
			// 
			this->label7->AutoSize = true;
			this->label7->BackColor = System::Drawing::Color::White;
			this->label7->Font = (gcnew System::Drawing::Font(L"Courier New", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label7->Location = System::Drawing::Point(647, 91);
			this->label7->Name = L"label7";
			this->label7->Size = System::Drawing::Size(104, 16);
			this->label7->TabIndex = 14;
			this->label7->Text = L"Poczekalnia:";
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->BackColor = System::Drawing::Color::White;
			this->label8->Font = (gcnew System::Drawing::Font(L"Courier New", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label8->Location = System::Drawing::Point(647, 123);
			this->label8->Name = L"label8";
			this->label8->Size = System::Drawing::Size(96, 16);
			this->label8->TabIndex = 15;
			this->label8->Text = L"Stan konta:";
			// 
			// StanPoczekalni
			// 
			this->StanPoczekalni->AutoSize = true;
			this->StanPoczekalni->BackColor = System::Drawing::Color::White;
			this->StanPoczekalni->Font = (gcnew System::Drawing::Font(L"Courier New", 8, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->StanPoczekalni->Location = System::Drawing::Point(647, 107);
			this->StanPoczekalni->Name = L"StanPoczekalni";
			this->StanPoczekalni->Size = System::Drawing::Size(91, 14);
			this->StanPoczekalni->TabIndex = 16;
			this->StanPoczekalni->Text = L"wolne/zajete";
			// 
			// StanKonta
			// 
			this->StanKonta->AutoSize = true;
			this->StanKonta->BackColor = System::Drawing::Color::White;
			this->StanKonta->Font = (gcnew System::Drawing::Font(L"Courier New", 8, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->StanKonta->Location = System::Drawing::Point(647, 139);
			this->StanKonta->Name = L"StanKonta";
			this->StanKonta->Size = System::Drawing::Size(42, 14);
			this->StanKonta->TabIndex = 17;
			this->StanKonta->Text = L"kwota";
			// 
			// label11
			// 
			this->label11->AutoSize = true;
			this->label11->BackColor = System::Drawing::Color::White;
			this->label11->Font = (gcnew System::Drawing::Font(L"Courier New", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label11->Location = System::Drawing::Point(647, 153);
			this->label11->Name = L"label11";
			this->label11->Size = System::Drawing::Size(104, 16);
			this->label11->TabIndex = 18;
			this->label11->Text = L"Zadowolenie:";
			// 
			// StanZadowolenia
			// 
			this->StanZadowolenia->AutoSize = true;
			this->StanZadowolenia->BackColor = System::Drawing::Color::White;
			this->StanZadowolenia->Font = (gcnew System::Drawing::Font(L"Courier New", 8, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->StanZadowolenia->Location = System::Drawing::Point(647, 169);
			this->StanZadowolenia->Name = L"StanZadowolenia";
			this->StanZadowolenia->Size = System::Drawing::Size(133, 14);
			this->StanZadowolenia->TabIndex = 19;
			this->StanZadowolenia->Text = L"poziom zadowolenia";
			// 
			// label13
			// 
			this->label13->AutoSize = true;
			this->label13->BackColor = System::Drawing::Color::White;
			this->label13->Font = (gcnew System::Drawing::Font(L"Times New Roman", 9.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label13->ForeColor = System::Drawing::Color::Red;
			this->label13->Location = System::Drawing::Point(12, 73);
			this->label13->Name = L"label13";
			this->label13->Size = System::Drawing::Size(627, 15);
			this->label13->TabIndex = 20;
			this->label13->Text = L"S                   T                    A                    N                  " 
				L"  O                    W                    I                    S              " 
				L"      K                   A";
			this->label13->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
			// 
			// label14
			// 
			this->label14->AutoSize = true;
			this->label14->BackColor = System::Drawing::Color::White;
			this->label14->Font = (gcnew System::Drawing::Font(L"Courier New", 8, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label14->Location = System::Drawing::Point(12, 56);
			this->label14->Name = L"label14";
			this->label14->Size = System::Drawing::Size(77, 14);
			this->label14->TabIndex = 21;
			this->label14->Text = L"W kolejce:";
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->BackColor = System::Drawing::Color::White;
			this->label1->Font = (gcnew System::Drawing::Font(L"Courier New", 8, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label1->Location = System::Drawing::Point(136, 56);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(77, 14);
			this->label1->TabIndex = 22;
			this->label1->Text = L"W kolejce:";
			// 
			// label15
			// 
			this->label15->AutoSize = true;
			this->label15->BackColor = System::Drawing::Color::White;
			this->label15->Font = (gcnew System::Drawing::Font(L"Courier New", 8, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label15->Location = System::Drawing::Point(263, 56);
			this->label15->Name = L"label15";
			this->label15->Size = System::Drawing::Size(77, 14);
			this->label15->TabIndex = 23;
			this->label15->Text = L"W kolejce:";
			// 
			// label16
			// 
			this->label16->AutoSize = true;
			this->label16->BackColor = System::Drawing::Color::White;
			this->label16->Font = (gcnew System::Drawing::Font(L"Courier New", 8, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label16->Location = System::Drawing::Point(390, 56);
			this->label16->Name = L"label16";
			this->label16->Size = System::Drawing::Size(77, 14);
			this->label16->TabIndex = 24;
			this->label16->Text = L"W kolejce:";
			// 
			// label17
			// 
			this->label17->AutoSize = true;
			this->label17->BackColor = System::Drawing::Color::White;
			this->label17->Font = (gcnew System::Drawing::Font(L"Courier New", 8, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(238)));
			this->label17->Location = System::Drawing::Point(517, 56);
			this->label17->Name = L"label17";
			this->label17->Size = System::Drawing::Size(77, 14);
			this->label17->TabIndex = 25;
			this->label17->Text = L"W kolejce:";
			// 
			// RecWait
			// 
			this->RecWait->AutoSize = true;
			this->RecWait->BackColor = System::Drawing::Color::White;
			this->RecWait->Location = System::Drawing::Point(100, 57);
			this->RecWait->Name = L"RecWait";
			this->RecWait->Size = System::Drawing::Size(16, 13);
			this->RecWait->TabIndex = 26;
			this->RecWait->Text = L"   ";
			// 
			// LabWait
			// 
			this->LabWait->AutoSize = true;
			this->LabWait->BackColor = System::Drawing::Color::White;
			this->LabWait->Location = System::Drawing::Point(224, 56);
			this->LabWait->Name = L"LabWait";
			this->LabWait->Size = System::Drawing::Size(16, 13);
			this->LabWait->TabIndex = 27;
			this->LabWait->Text = L"   ";
			// 
			// DocWait
			// 
			this->DocWait->AutoSize = true;
			this->DocWait->BackColor = System::Drawing::Color::White;
			this->DocWait->Location = System::Drawing::Point(351, 57);
			this->DocWait->Name = L"DocWait";
			this->DocWait->Size = System::Drawing::Size(16, 13);
			this->DocWait->TabIndex = 28;
			this->DocWait->Text = L"   ";
			// 
			// CafWait
			// 
			this->CafWait->AutoSize = true;
			this->CafWait->BackColor = System::Drawing::Color::White;
			this->CafWait->Location = System::Drawing::Point(478, 56);
			this->CafWait->Name = L"CafWait";
			this->CafWait->Size = System::Drawing::Size(16, 13);
			this->CafWait->TabIndex = 29;
			this->CafWait->Text = L"   ";
			// 
			// DonWait
			// 
			this->DonWait->AutoSize = true;
			this->DonWait->BackColor = System::Drawing::Color::White;
			this->DonWait->Location = System::Drawing::Point(605, 56);
			this->DonWait->Name = L"DonWait";
			this->DonWait->Size = System::Drawing::Size(16, 13);
			this->DonWait->TabIndex = 30;
			this->DonWait->Text = L"   ";
			// 
			// button2
			// 
			this->button2->Location = System::Drawing::Point(12, 401);
			this->button2->Name = L"button2";
			this->button2->Size = System::Drawing::Size(121, 48);
			this->button2->TabIndex = 31;
			this->button2->Text = L"Kup nowe\r\nstanowisko \r\nw recepcji";
			this->button2->UseVisualStyleBackColor = true;
			// 
			// button3
			// 
			this->button3->Location = System::Drawing::Point(139, 401);
			this->button3->Name = L"button3";
			this->button3->Size = System::Drawing::Size(121, 48);
			this->button3->TabIndex = 32;
			this->button3->Text = L"Kup nowe\r\nstanowisko \r\nw laboratorium";
			this->button3->UseVisualStyleBackColor = true;
			// 
			// button4
			// 
			this->button4->Location = System::Drawing::Point(266, 401);
			this->button4->Name = L"button4";
			this->button4->Size = System::Drawing::Size(121, 48);
			this->button4->TabIndex = 33;
			this->button4->Text = L"Zatrudnij \r\nnowego\r\nlekarza";
			this->button4->UseVisualStyleBackColor = true;
			// 
			// button5
			// 
			this->button5->Location = System::Drawing::Point(393, 401);
			this->button5->Name = L"button5";
			this->button5->Size = System::Drawing::Size(121, 48);
			this->button5->TabIndex = 34;
			this->button5->Text = L"Kup nowe\r\nstanowisko\r\nw kafejce";
			this->button5->UseVisualStyleBackColor = true;
			// 
			// button6
			// 
			this->button6->Location = System::Drawing::Point(520, 401);
			this->button6->Name = L"button6";
			this->button6->Size = System::Drawing::Size(121, 48);
			this->button6->TabIndex = 35;
			this->button6->Text = L"Kup nowe\r\nłóżko \r\ndo donacji";
			this->button6->UseVisualStyleBackColor = true;
			// 
			// Form1
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->BackColor = System::Drawing::Color::WhiteSmoke;
			this->BackgroundImage = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"$this.BackgroundImage")));
			this->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Center;
			this->ClientSize = System::Drawing::Size(792, 568);
			this->Controls->Add(this->button6);
			this->Controls->Add(this->button5);
			this->Controls->Add(this->button4);
			this->Controls->Add(this->button3);
			this->Controls->Add(this->button2);
			this->Controls->Add(this->DonWait);
			this->Controls->Add(this->CafWait);
			this->Controls->Add(this->DocWait);
			this->Controls->Add(this->LabWait);
			this->Controls->Add(this->RecWait);
			this->Controls->Add(this->label17);
			this->Controls->Add(this->label16);
			this->Controls->Add(this->label15);
			this->Controls->Add(this->label1);
			this->Controls->Add(this->label14);
			this->Controls->Add(this->label13);
			this->Controls->Add(this->StanZadowolenia);
			this->Controls->Add(this->label11);
			this->Controls->Add(this->StanKonta);
			this->Controls->Add(this->StanPoczekalni);
			this->Controls->Add(this->label8);
			this->Controls->Add(this->label7);
			this->Controls->Add(this->label6);
			this->Controls->Add(this->label5);
			this->Controls->Add(this->label4);
			this->Controls->Add(this->label3);
			this->Controls->Add(this->label2);
			this->Controls->Add(this->DonStands);
			this->Controls->Add(this->CafStands);
			this->Controls->Add(this->DocStands);
			this->Controls->Add(this->CheckStands);
			this->Controls->Add(this->RecStands);
			this->Controls->Add(this->statusStrip1);
			this->Controls->Add(this->menuStrip1);
			this->Icon = (cli::safe_cast<System::Drawing::Icon^  >(resources->GetObject(L"$this.Icon")));
			this->MainMenuStrip = this->menuStrip1;
			this->MaximumSize = System::Drawing::Size(800, 600);
			this->MinimumSize = System::Drawing::Size(800, 600);
			this->Name = L"Form1";
			this->Text = L"RCK by Marek Urbanowicz";
			this->menuStrip1->ResumeLayout(false);
			this->menuStrip1->PerformLayout();
			this->statusStrip1->ResumeLayout(false);
			this->statusStrip1->PerformLayout();
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion
	private: System::Void zamknijToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
				 this->Close();
			 }
private: System::Void timer1_Tick(System::Object^  sender, System::EventArgs^  e) {
		 }
private: System::Void timer2_Tick(System::Object^  sender, System::EventArgs^  e) {
			SYSTEMTIME st;
			GetSystemTime(&st); 
			System::Int32 s=st.wSecond;
			System::Int32 m=st.wMinute;
			System::Int32 h=st.wHour;
			StatusLabel->Text = "Aktualna godzina: " + 	h.ToString() + ":" + m.ToString() + ":" + s.ToString();  
		 }
};
}

You are cross-including the header files, in the form's header, use a forward declaration for CCenter.

// #include "Center.h"
ref class CCenter;  // this will do
...
namespace RCK {
...

I did:

Form1.h

#pragma once
#include "Center.h"
#include <time.h>
#include <windows.h>
ref class CCenter;

namespace RCK {
...

Center.h

#pragma once
#include "StandsQue.h"
#include "Giver.h"
#include "StandsQue.h"
#include "Form1.h"

public ref class CCenter
{
public:
	CCenter();
	~CCenter(void);
	void AddGiver(void);
	void Work(void);
	void AddStand(System::Int32 StandsNumber);
private:
	RCK::Form1 Interfejs;
};

and this don't work.
Maybe I dont understand you. If this, sorry.

Now i understand. I made:

#pragma once
//#include "Center.h"
#include <time.h>
#include <windows.h>
ref class CCenter;

namespace RCK {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Summary for Form1
	///
	/// WARNING: If you change the name of this class, you will need to change the
	///          'Resource File Name' property for the managed resource compiler tool
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();
			CCenter^ Engine;
			Engine = gcnew CCenter();

but now i have problem :

1>d:\moje dokumenty\visual studio 2008\projects\rck\rck\Form1.h(32) : error C2512: 'CCenter' : no appropriate default constructor available
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.