﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">Ошибка при построении программы</title>
  <id>~/topic/829/oshibka-pri-postroenii-programmy/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-26T19:25:53Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=829" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/1162/</id>
    <title type="text">http://msdn.microsoft.com/ru-ru/library/wkze6zky.aspx </title>
    <published>2010-07-06T12:50:00Z</published>
    <updated>2010-07-06T12:50:00Z</updated>
    <author>
      <name>Mikhail Sukhov</name>
      <uri>https://stocksharp.com/users/201/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;&lt;a href="http://msdn.microsoft.com/ru-ru/library/wkze6zky.aspx" target="_blank"&gt;http://msdn.microsoft.com/ru-ru/library/wkze6zky.aspx&lt;/a&gt;&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/1161/</id>
    <title type="text">ÉÓÐÏÌØÚÕÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ : using System; using System.Collections.Generic; using System.ComponentMode...</title>
    <published>2010-07-06T12:34:00Z</published>
    <updated>2010-07-06T12:34:00Z</updated>
    <author>
      <name>MCTuTeJ|19951995</name>
      <uri>https://stocksharp.com/users/18/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;ÉÓÐÏÌØÚÕÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ :
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Forms;
using System.Threading;&lt;/p&gt;
&lt;p&gt;using Ecng.Collections;
using Ecng.Common;
using Ecng.Trading.BusinessEntities;
using Ecng.Trading.Quik;
using Ecng.Trading.Algo;
using Ecng.Xaml;
using Ecng.Trading.Xaml;
using Ecng.ComponentModel;&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/1160/</id>
    <title type="text">private void button1_Click(object sender, EventArgs e) { Security sec1 = new Security(); ругается зд...</title>
    <published>2010-07-06T12:13:00Z</published>
    <updated>2010-07-06T12:13:00Z</updated>
    <author>
      <name>MCTuTeJ|19951995</name>
      <uri>https://stocksharp.com/users/18/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;private void button1_Click(object sender, EventArgs e)
{
Security sec1 = new Security();&lt;/p&gt;
&lt;p&gt;&lt;em&gt;ругается здесь -&amp;gt;&lt;/em&gt;        sec1 =
trader.Securities.FirstOrDefault();&lt;/p&gt;
&lt;p&gt;MessageBox.Show(trader.GetMarketDepth(sec1).BestAsk.Price.ToString());&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;подчеркивает sec1 и выдает ошибку&lt;/p&gt;
&lt;p&gt;Ошибка    1       Тип &amp;quot;System.Windows.FrameworkElement&amp;quot; определен в сборке,
ссылка на которую отсутствует. Следует добавить ссылку на сборку
&amp;quot;PresentationFramework, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35&amp;quot;.  c:\Users\temp02\Documents\Visual
Studio 2008\Projects\proba3\proba3\Form1.cs     67      11      proba3&lt;/p&gt;
&lt;p&gt;На событие NewSecurities подписан, экспорт работает нормально.&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>