anchor.diff:        Shape_Market_From, Shape_Market_To: TKMShape;
         Label_Market_In, Label_Market_Out: TKMLabel;
         Button_Market_In, Button_Market_Out: TKMButtonFlat;
  -      ResRow_Market_Out: TKMResourceOrderRow;
  +      Button_Market_Add,Button_Market_Remove: TKMButton;
  +      Label_Market_FromAmount,Label_Market_ToAmount:TKMLabel;
  +      //ResRow_Market_Out: TKMResourceOrderRow;
       Panel_HouseStore:TKMPanel;
         Button_Store:array[1..STORE_RES_COUNT]of TKMButtonFlat;
         Image_Store_Accept:array[1..STORE_RES_COUNT]of TKMImage;
  
positive.code:     Button_Market_Out.Caption := '-';
    end;
  
    ResRow_Market_Out.Enabled := (M.ResFrom <> rt_None) and (M.ResTo <> rt_None);
    ResRow_Market_Out.OrderCount := M.CheckResOrder(1);
    ResRow_Market_Out.ResourceCount := M.CheckResOut(M.ResTo);
  end;
  
  
  
negative.code:   end;
  
    inc(LineH, 10);
  
    Label_Market_FromAmount := TKMLabel.Create(Panel_HouseMarket,60,LineH,31,30,'',fnt_Grey,kaCenter);
    Button_Market_Remove := TKMButton.Create(Panel_HouseMarket,76,LineH,20,20,'-',fnt_Metal,bsGame);
    Button_Market_Add    := TKMButton.Create(Panel_HouseMarket,97,LineH,20,20,'+',fnt_Metal,bsGame);
    Button_Market_Remove.OnClickEither := House_MarketOrderClick;
    Button_Market_Add.OnClickEither := House_MarketOrderClick;
    Label_Market_ToAmount := TKMLabel.Create(Panel_HouseMarket, 132,LineH,31,30,'',fnt_Grey,kaCenter);
  
    {ResRow_Market_Out := TKMResourceOrderRow.Create(Panel_HouseMarket, 62,LineH,64,20);
    ResRow_Market_Out.RxID := 4;
    ResRow_Market_Out.OrderAdd.OnClickEither := House_MarketOrderClick;
    ResRow_Market_Out.OrderRem.OnClickEither := House_MarketOrderClick;
    ResRow_Market_Out.OrderAdd.Hint := fTextLibrary.GetTextString(235);
    ResRow_Market_Out.OrderRem.Hint := fTextLibrary.GetTextString(234);
    ResRow_Market_Out.Disable;}
  end;
  
  
  