public CommonAboutDialog() { Title = MainClass.Languages.Translate("moscrif_ide_title_f1"); TransientFor = MainClass.MainWindow; AllowGrow = false; HasSeparator = false; Modal = true; VBox.BorderWidth = 0; aboutPictureScrollBox = new ScrollBox(); VBox.PackStart(aboutPictureScrollBox, false, false, 0); Notebook notebook = new Notebook(); notebook.BorderWidth = 6; notebook.AppendPage(new AboutTabPage(), new Label(Title)); notebook.AppendPage(new VersionInformationTabPage(), new Label(MainClass.Languages.Translate("components"))); var buildInfo = LoadBuildInfo(); if (buildInfo != null) { notebook.AppendPage(buildInfo, new Label(MainClass.Languages.Translate("components"))); } VBox.PackStart(notebook, true, true, 4); AddButton(Stock.Close, ResponseType.Close); //ShowAll(); }
public CommonAboutDialog() { Title = MainClass.Languages.Translate("moscrif_ide_title_f1"); TransientFor = MainClass.MainWindow; AllowGrow = false; HasSeparator = false; Modal = true; VBox.BorderWidth = 0; aboutPictureScrollBox = new ScrollBox(); VBox.PackStart(aboutPictureScrollBox, false, false, 0); Notebook notebook = new Notebook(); notebook.BorderWidth = 6; notebook.AppendPage(new AboutTabPage(), new Label(Title)); notebook.AppendPage(new VersionInformationTabPage(), new Label(MainClass.Languages.Translate("components"))); var buildInfo = LoadBuildInfo(); if (buildInfo != null) notebook.AppendPage(buildInfo, new Label(MainClass.Languages.Translate("components"))); VBox.PackStart(notebook, true, true, 4); AddButton (Stock.Close, ResponseType.Close); //ShowAll(); }