using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Quicker.Public;
public static void OnWindowLoaded(Window win, IDictionary<string, object> dataContext,
ICustomWindowContext winContext)
{
var isEdited = winContext.Context.GetVarValue("strValue");
}
-------------------------------------
报错:c:\Users\Niaa\AppData\Local\Temp\CSSCRIPT\dynamic\14132.c8677362-4524-4dd3-a97b-8ebada9678fe.tmp(3,7): warning CS0105: “System”的 using 指令以前在此命名空间中出现过
c:\Users\Niaa\AppData\Local\Temp\CSSCRIPT\dynamic\14132.c8677362-4524-4dd3-a97b-8ebada9678fe.tmp(18,32): error CS1061: “Quicker.Public.ICustomWindowContext”不包含“Context”的定义,并且找不到可接受类型为“Quicker.Public.ICustomWindowContext”的第一个参数的扩展方法“Context”(是否缺少 using 指令或程序集引用?)
(----test:自定义窗口----)