BetterExplorer.TabListEditor.AddTab C# (CSharp) Method

AddTab() public method

public AddTab ( string loc ) : void
loc string
return void
		public void AddTab(string loc) {
			var g = new TabListEditorItem(loc);
			g.TitleColumnWidth = NameCol.Width;
			g.Width = this.Width;
			g.VerticalAlignment = System.Windows.VerticalAlignment.Top;
			g.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
			g.DeleteRequested += new RoutedEventHandler(g_DeleteRequested);
			stackPanel1.Children.Add(g);
		}