Eto.Test.MainForm.EventLogSection C# (CSharp) Method

EventLogSection() private method

private EventLogSection ( ) : Control
return Eto.Forms.Control
		Control EventLogSection()
		{
			var layout = new DynamicLayout { Size = new Size(100, 120), DefaultSpacing = new Size(5, 5) };

			layout.BeginHorizontal();
			layout.Add(EventLog, true);

			layout.BeginVertical(new Padding(0, 0, 5, 0));
			layout.Add(ClearButton());
			layout.Add(MemoryButton());
			layout.Add(null);
			layout.EndVertical();
			layout.EndHorizontal();
			return layout;
		}