资源 [英] Resources
问题描述
我有这个XAML:
<
Page x:Class =" EnvioFacturas"
  ; xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation "
$
xmlns:x =" http://schemas.microsoft.com/ winfx / 2006 / xaml " b $ b xmlns:mc =" http ://schemas.openxmlformats.org/markup-compatibility/2006 "
xmlns:d =" http://schemas.microsoft。 com / expression / blend / 2008 "
xmlns:local =" clr-namespace:AplicacionEnvio"
mc:Ignorable =" d"
Title =" Envio Facturas"宽度= QUOT; 1200"高度="641">
< Page.Resources>
< local:ConversorBoolean x:Key =" KeyConvertBoolean" />
$
< /Page.Resources>
....
<
Page x:Class="EnvioFacturas"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:AplicacionEnvio"
mc:Ignorable="d"
Title="Envio Facturas" Width="1200" Height="641">
<Page.Resources>
<local:ConversorBoolean x:Key="KeyConvertBoolean" />
</Page.Resources>
....
我有一个文件cl_envio.vb class conversorboolean但在编译应用程序时返回下一个错误:
and i have one file cl_envio.vb with class conversorboolean but when compile the application return next error:
命名空间中的名称ConversorBoolean" clr_namespace:AplicacionEnvio"
错误在哪里。
对不起我的英语
谢谢
推荐答案
哪里出错。
Where is error.
消息说明了一切 - 您正在尝试使用该命名空间中不存在的方法(ConversorBoolean)(clr_namespace:AplicacionEnvio)。 也许你拼错了它,或者它可能需要额外的资格,或者它可能是
错误的命名空间。
The message says it all - you are trying to use a method (ConversorBoolean) that does not exist within that namespace (clr_namespace:AplicacionEnvio). Perhaps you have misspelled it, or perhaps it needs additional qualification, or perhaps it's the wrong namespace.
如果这是一个WPF应用程序,那么你应该问你的问题 < a href ="http://social.msdn.microsoft.com/Forums/en/wpf/threads/"> Windows演示文稿
基金会(WPF)
If this is a WPF application then you question should be asked at Windows Presentation Foundation (WPF)
这篇关于资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!