class TMshDialog : public TDialog
{
public:
  TMshDialog();
  ~TMshDialog();

  char PathDir[256];
  TCompCollect *DomColect;
  TCompCollect *TipDinColect;
  TCompCollect *CollorColect;

  virtual void handleEvent ( TEvent& event );

  void ViewMnemDin();
  void ViewMnemSt();
  int ViewMnem(int mn,char opt);
  void SaveChengeMn();
  void DeleteMn(int item);
  void getEvent( MouseEventType& me );
  void setCurPos(int x,int y);
  void ChekBound(word_s x,word_s y,word_s *X_MIN,word_s *Y_MIN,word_s *X_MAX,word_s *Y_MAX);

  static int SelectInput(void* source,TEvent& event);
  static int EnterNumber(void* source,TEvent& event);
  static int SelectFormuls(void* source,TEvent& event);

  TScrollBar *ScrollBar1;
  TScrollBar *ScrollBar2;
  TScrollBar *ScrollBar3;

  TMyTListBox *MyTListBox1;
  TMyTListBox *MyTListBox2;
  TMyTListBox *MyTListBox3;

  Boolean Modif;
  Boolean Modifs;
  int OldIndChek1;
  int OldIndChek2;
  int OldIndChek3;

  TMyCheckBoxes *CheckBoxes1;
  TMyCheckBoxes *CheckBoxes2;
  TMyCheckBoxes *CheckBoxes3;
  TMyCheckBoxes *CheckBoxes4;

  TEdit *Tipdin_Ed;
  TEdit *Ed_krd_srX;
  TEdit *Ed_krd_srY;
  TEdit *Ed_krd_znX;
  TEdit *Ed_krd_znY;
  TEdit *Ed_krd_curX;
  TEdit *Ed_krd_curY;
  TEdit *Ed_krd_Xmin;
  TEdit *Ed_krd_Ymin;
  TEdit *Ed_krd_Xmax;
  TEdit *Ed_krd_Ymax;
  TEdit *Edit11;
  TEdit *Edit12;

  TMyLabel *Lb_krd_Xmax;
  TMyLabel *Lb_krd_Xmin;
  TMyLabel *Tipdin_Lb;

  TComboBox *Tipdin_Cb;
  TComboBox *Collor_Cb;
  TComboBox *Collor_Cb_C;
  TComboBox *Collor_Cb_O;

  TEdit *Edit_x;
  TEdit *Edit_x1;
  TEdit *Edit_y;
  TEdit *Edit_y1;
  TEdit *Edit_PCX;
  TEdit *Edit_txt;
  TEdit *Edit_color;
  TEdit *Edit_col_C;
  TEdit *Edit_col_O;

  TMyLabel *Label_x;
  TMyLabel *Label_y;
  TMyLabel *Label_PCX;
  TMyLabel *Label_txt;
  TMyLabel *Label_color;
  TMyLabel *Label_col_C;
  TMyLabel *Label_col_O;
};