private void buttonZoomIn_Click(object sender, RoutedEventArgs e) { if (lcp == null) { SilverlightLFC.common.Environment.ShowMessage("未将按钮和测试对象关联!"); return; } ClearActiveAll(); lcp.Zoom(1.2); if (PhotoOperate != null) { PhotoOperate("ZoomIn", lcp.getPhoto()); } }