public LaunchScreen() { InitializeComponent(); Net.DebugClient client = new Net.DebugClient(new Debugger.Debug.SessionData(txtAddr.Text)); foreach (string str in UserData.inst().RecentFiles) { Button tb = new Button { Content = str, Tag = str }; recentFiles.Children.Add(tb); tb.Click += tb_Click; } }
public LaunchScreen() { InitializeComponent(); Net.DebugClient client = new Net.DebugClient(new Debugger.Debug.SessionData("")); txtAddr.DataContext = Debugger.Debug.SessionData.inst().Settings; Debugger.Debug.SessionData.inst().Connection = Debugger.Debug.SessionData.inst().Settings.ConnectionURI; foreach (string str in UserData.inst().RecentFiles) { Button tb = new Button { Content = str, Tag = str }; tb.Style = this.FindResource("StyledButton") as Style; recentFiles.Children.Add(tb); tb.Click += tb_Click; } }
public LaunchScreen() { InitializeComponent(); Net.DebugClient client = new Net.DebugClient(new Debugger.Debug.SessionData("")); txtAddr.DataContext = Debugger.Debug.SessionData.inst().Settings; Debugger.Debug.SessionData.inst().Connection = Debugger.Debug.SessionData.inst().Settings.ConnectionURI; foreach (string str in UserData.inst().RecentFiles) { Button tb = new Button { Content = str, Tag = str }; tb.Style = this.FindResource("StyledButton") as Style; recentFiles.Children.Add(tb); tb.Click += tb_Click; } }