private static void CreatePadReserviorInfo() { PadReserviorInfo padReserviorInfo = new PadReserviorInfo() { Width = 2400, Height = 1800, VerticalAlignment = VerticalAlignment.Top, HorizontalAlignment = HorizontalAlignment.Left, Margin = new Thickness(0), Name = "xxx" }; PublicParams.pubLayoutRoot.Children.Add(padReserviorInfo); }
private void CreatePadReserviorInfo()//PadReserviorInfo { PadReserviorInfo padReserviorInfo = new PadReserviorInfo() { Width = 1, Height = 1, VerticalAlignment = VerticalAlignment.Top, HorizontalAlignment = HorizontalAlignment.Left, Margin = new Thickness(0), Name = "padReserviorInfo" }; LayoutRoot.Children.Add(padReserviorInfo); padReserviorInfo.BeginStoryboard(App.Current.FindResource("StoryForCasePad") as System.Windows.Media.Animation.Storyboard); }