示例#1
0
文件: NexusPage.cs 项目: kflo/phylo
 public NexusPage()
 {
     ScrollView scrollView = new ScrollView();
        StackLayout stackLayout = new StackLayout { Orientation = StackOrientation.Vertical, Padding = new Thickness(10, 10), HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand };
        NexusWriter nw = new NexusWriter(Application.TaxaList);
        stackLayout.Children.Add(nw.WriteToFile());
        scrollView.Content = stackLayout;
        Content = scrollView;
 }
示例#2
0
        public NexusPage()
        {
            ScrollView  scrollView  = new ScrollView();
            StackLayout stackLayout = new StackLayout {
                Orientation = StackOrientation.Vertical, Padding = new Thickness(10, 10), HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand
            };
            NexusWriter nw = new NexusWriter(Application.TaxaList);

            stackLayout.Children.Add(nw.WriteToFile());
            scrollView.Content = stackLayout;
            Content            = scrollView;
        }