Пример #1
0
 /// <summary>Handles an <see cref="Edrych.App.ActiveQueryChanged"/> event</summary>
 private void ActiveQuery_Changed(object sender, EventArgs e)
 {
     this._activeQuery = sender as QueryView;
 }
Пример #2
0
 /// <summary>Creates a new query tab</summary>
 /// <param name="IsOpen">Whether or not the query is from an existing saved query</param>
 private void CreateQueryTab(bool IsOpen)
 {
     QueryView qp = new QueryView(ref _browserViewModel);
     this.tabControl1.TabPages.Insert(0, qp);
     qp.CreateQueryView(IsOpen);
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.ResizeTabs();
 }