private Widget CreateWelcomePage() { VBox vbox = new VBox(false, 0); MenuBar menubar = CreateWelcomeMenuBar(); vbox.PackStart (menubar, false, false, 0); Frame frame = new Frame(); vbox.PackStart(frame, true, true, 0); vbox.ModifyBase(StateType.Normal, new Gdk.Color(255, 255, 255)); VBox welcomeVBox = new VBox(false, 0); frame.Add(welcomeVBox); Gdk.Pixbuf pixbuf = new Gdk.Pixbuf(Util.ImagesPath("ifolder128.png")); Image image = new Image(pixbuf); image.SetAlignment(0.5F, 0.5F); welcomeVBox.PackStart(image, false, false, 0); Label l = new Label( string.Format("<span size=\"x-large\" weight=\"bold\">{0}</span>", Util.GS("Welcome to iFolder"))); welcomeVBox.PackStart(l, false, false, 0); l.UseMarkup = true; l = new Label( string.Format("<span>{0}</span>", Util.GS("iFolder is a file sharing solution for workgroup and enterprise environments."))); welcomeVBox.PackStart(l, false, false, 0); l.UseMarkup = true; HBox hbox = new HBox(false, 0); ConnectToServerButton = new Button(hbox); ConnectToServerButton.Relief = ReliefStyle.None; vbox.PackStart(ConnectToServerButton, false, false, 0); Gdk.Pixbuf folderPixbuf = new Gdk.Pixbuf(Util.ImagesPath("add-account.png")); folderPixbuf = folderPixbuf.ScaleSimple(64, 64, Gdk.InterpType.Bilinear); Image folderImage = new Image(folderPixbuf); folderImage.SetAlignment(0.5F, 0F); hbox.PackStart(folderImage, false, false, 0); VBox buttonVBox = new VBox(false, 0); hbox.PackStart(buttonVBox, true, true, 4); Label buttonText = new Label(string.Format("<span size=\"large\" weight=\"bold\">{0}</span>", Util.GS("Connect to an iFolder Server"))); buttonVBox.PackStart(buttonText, false, false, 0); buttonText.UseMarkup = true; buttonText.UseUnderline = false; buttonText.Xalign = 0; Label buttonMessage = new Label(string.Format("<span size=\"small\">{0}</span>", Util.GS("Start synchronizing files by connecting to an iFolder server"))); buttonVBox.PackStart(buttonMessage, false, false, 0); buttonMessage.UseMarkup = true; buttonMessage.UseUnderline = false; buttonMessage.LineWrap = true; buttonMessage.Justify = Justification.Left; buttonMessage.Xalign = 0; buttonMessage.Yalign = 0; ConnectToServerButton.Clicked += new EventHandler(OnConnectToServerButton); return vbox; }