Пример #1
0
 public TablePreview(Table _table, Client _cli, bool _editor = false, bool QueryResponse = false)
 {
     Editor = _editor;
     Source = _table;
     Cli    = _cli;
     InitializeComponent();
     this.Dock = DockStyle.Fill;
     if (!QueryResponse)
     {
         Cli.Workspace_Lower.Controls.Clear();
         Cli.Workspace_Lower.Controls.Add(StreamOut);
         StreamOut.Write("SELECT * FROM " + Source.Name + ";");
     }
 }
Пример #2
0
 /// <summary>
 ///     Raises the <see cref="E:StreamOut" /> event.
 /// </summary>
 /// <param name="args">The <see cref="PlayerEventArgs" /> instance containing the event data.</param>
 public void OnStreamOut(PlayerEventArgs args)
 {
     StreamOut?.Invoke(this, args);
 }