예제 #1
0
        public void TestData()
        {
            var WelcomeBlockList = new WelcomePageModel[]
            {
                new WelcomePageModel
                {
                    elemts = new WelcomePageInfo[]
                    {
                        new WelcomePageInfo
                        {
                            Text = "Open a sqlite db",
                            FontSize = 50,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text = "sqlite db viewer",
                            FontSize = 30,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text = "Select a *.db file",
                            FontSize = 18,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text = "For sqlite: only read",
                            FontSize = 18,
                            Foreground = "#FFAAAA",
                        },
                    },
                },

                new WelcomePageModel
                {
                    elemts = new WelcomePageInfo[]
                    {
                        new WelcomePageInfo
                        {
                            Text = "Connect a mysql db",
                            FontSize = 30,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text = "query mysql",
                            FontSize = 18,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text = "Input server's ip address",
                            FontSize = 18,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text = "run sql",
                            FontSize = 18,
                            Foreground = "#AAAAAA",
                        },
                    },
                },
            };
             
            Data = WelcomeBlockList;
        }
예제 #2
0
        public void TestData()
        {
            var WelcomeBlockList = new WelcomePageModel[]
            {
                new WelcomePageModel
                {
                    elemts = new WelcomePageInfo[]
                    {
                        new WelcomePageInfo
                        {
                            Text       = "Open a sqlite db",
                            FontSize   = 50,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text       = "sqlite db viewer",
                            FontSize   = 30,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text       = "Select a *.db file",
                            FontSize   = 18,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text       = "For sqlite: only read",
                            FontSize   = 18,
                            Foreground = "#FFAAAA",
                        },
                    },
                },

                new WelcomePageModel
                {
                    elemts = new WelcomePageInfo[]
                    {
                        new WelcomePageInfo
                        {
                            Text       = "Connect a mysql db",
                            FontSize   = 30,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text       = "query mysql",
                            FontSize   = 18,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text       = "Input server's ip address",
                            FontSize   = 18,
                            Foreground = "#FFFFFF",
                        },
                        new WelcomePageInfo
                        {
                            Text       = "run sql",
                            FontSize   = 18,
                            Foreground = "#AAAAAA",
                        },
                    },
                },
            };

            Data = WelcomeBlockList;
        }