/// <summary> /// 在InitializeComponent后执行 /// 满屏显示 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Window_Loaded(object sender, RoutedEventArgs e) { ViewUtil.FullView(lc); }
private void Button_Click(object sender, RoutedEventArgs e) { ViewUtil.FullView(lc); }
private void Window_SizeChanged(object sender, SizeChangedEventArgs e) { ViewUtil.FullView(lyControl); }