Example #1
0
		public AboutWindow()
			: base(500, 640)
		{
			GuiWidget aboutPage = new AboutWidget();
			aboutPage.AnchorAll();
			this.AddChild(aboutPage);

			Button cancelButton = textImageButtonFactory.Generate("Close");
			cancelButton.Click += (s, e) => CancelButton_Click();
			cancelButton.HAnchor = HAnchor.ParentRight;
			this.AddChild(cancelButton);

			this.Title = LocalizedString.Get("About MatterControl");
			this.AlwaysOnTopOfMain = true;
			this.ShowAsSystemWindow();
		}
Example #2
0
        public AboutWindow()
            : base(500, 640)
        {
            GuiWidget aboutPage = new AboutWidget();

            aboutPage.AnchorAll();
            this.AddChild(aboutPage);

            Button cancelButton = textImageButtonFactory.Generate("Close");

            cancelButton.Click  += (s, e) => CancelButton_Click();
            cancelButton.HAnchor = HAnchor.ParentRight;
            this.AddChild(cancelButton);

            this.Title             = LocalizedString.Get("About MatterControl");
            this.AlwaysOnTopOfMain = true;
            this.ShowAsSystemWindow();
        }
Example #3
0
		public AboutWindow()
			: base(500, 640)
		{
			GuiWidget aboutPage = new AboutWidget();
			aboutPage.AnchorAll();
			this.AddChild(aboutPage);

			FlowLayoutWidget buttonRowContainer = new FlowLayoutWidget();
			buttonRowContainer.HAnchor = HAnchor.ParentLeftRight;
			buttonRowContainer.Padding = new BorderDouble(0, 3);
			AddChild(buttonRowContainer);

			Button cancelButton = textImageButtonFactory.Generate("Close");
			cancelButton.Click += (sender, e) => { CancelButton_Click(); };
			buttonRowContainer.AddChild(new HorizontalSpacer());
			buttonRowContainer.AddChild(cancelButton);

			this.Title = LocalizedString.Get("About MatterControl");
			this.AlwaysOnTopOfMain = true;
			this.ShowAsSystemWindow();
		}
Example #4
0
        public AboutWindow()
            : base(500, 640)
        {
            GuiWidget aboutPage = new AboutWidget();

            aboutPage.AnchorAll();
            this.AddChild(aboutPage);

            FlowLayoutWidget buttonRowContainer = new FlowLayoutWidget();

            buttonRowContainer.HAnchor = HAnchor.ParentLeftRight;
            buttonRowContainer.Padding = new BorderDouble(0, 3);
            AddChild(buttonRowContainer);

            Button cancelButton = textImageButtonFactory.Generate("Close");

            cancelButton.Click += (sender, e) => { CancelButton_Click(); };
            buttonRowContainer.AddChild(new HorizontalSpacer());
            buttonRowContainer.AddChild(cancelButton);

            this.Title             = LocalizedString.Get("About MatterControl");
            this.AlwaysOnTopOfMain = true;
            this.ShowAsSystemWindow();
        }