我有一个3显示器设置,但白色说:
[Warn - 10:59:24 AM] 'TestStack.White.UIItems.UIItem' Window with title: MYWINDOW
whose dimensions are: 0,0,4492,1080, is not contained completely on the desktop
0,0,1920,1080.
UI actions on window needing mouse would not work in area not falling under the desktop
Run Code Online (Sandbox Code Playgroud)
是否可以在多台显示器上使用teststack.white?如果它不可用,那么我想为白色项目做贡献(我认为它的开源)并添加此功能,但我们会看到.
谢谢.
为什么以下代码返回"[]"时应返回"{"id":1999,"title":"hithere"}
JavaScriptSerializer serializer = new JavaScriptSerializer();
StringBuilder sbJsonResults = new StringBuilder();
var result = serializer.Serialize(new dg(1999, "hithere"));
context.Response.Clear();
context.Response.ContentType = "application/json; charset=utf-8";
context.Response.Cache.SetExpires(DateTime.MinValue);
context.Response.Write(result);
Run Code Online (Sandbox Code Playgroud)
PS dg类看起来像这样:
public class dg : ScheduleObserver, ILibrary, IEnumerable {
public int id;
public string title;
private List<d> dList;
...many getters and setters and some logic functions...
}
public abstract class ScheduleObserver{
public abstract void update();
}
public interface ILibrary {
List<PD> getPDs();
void setPDs(List<PD> newPDs);
int getCurrentIndex();
void addPD(PD pD);
PD getPD(int index);
}
Run Code Online (Sandbox Code Playgroud)
非常感谢. …