private void FindSource() { var source = _SQLClient.FindSource(_SourceId); SourceNameTextBox.Text = (string)source["Name"]; SourceAuthorTextBox.Text = (string)source["Author"]; SourceYearTextBox.Text = ((int)source["Year"]).ToString(); }