anchor.diff:      Button_Market_Out.Caption := '-';
     end;
   
  -  ResRow_Market_Out.Enabled := (M.ResFrom <> rt_None) and (M.ResTo <> rt_None);
  +  Button_Market_Remove.Enabled := (M.ResFrom <> rt_None) and (M.ResTo <> rt_None);
  +  Button_Market_Add.Enabled := Button_Market_Remove.Enabled;
  +  Label_Market_FromAmount.Caption := IntToStr(M.RatioFrom * M.CheckResOrder(1));
  +  Label_Market_ToAmount.Caption := IntToStr(M.RatioTo * M.CheckResOrder(1));
  +  {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);
  +  ResRow_Market_Out.ResourceCount := M.CheckResOut(M.ResTo);}
   end;
   
   
  
positive.code:   end;
  
    inc(LineH, 10);
    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;
  
  
  
negative.code:       Shape_Market_From, Shape_Market_To: TKMShape;
        Label_Market_In, Label_Market_Out: TKMLabel;
        Button_Market_In, Button_Market_Out: TKMButtonFlat;
        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;
  