Exemplo n.º 1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DataSetInDataGrid.Silverlight;component/Page.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SQL = ((System.Windows.Controls.TextBox)(this.FindName("SQL")));
     this.PageNumber = ((System.Windows.Controls.TextBox)(this.FindName("PageNumber")));
     this.PageSize = ((System.Windows.Controls.TextBox)(this.FindName("PageSize")));
     this.Progress = ((DataSetInDataGrid.Silverlight.ProgressBar)(this.FindName("Progress")));
     this.theGrid = ((System.Windows.Controls.DataGrid)(this.FindName("theGrid")));
 }
Exemplo n.º 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightPrototype1.Screens;component/DataSetGrid.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SQL        = ((System.Windows.Controls.TextBox)(this.FindName("SQL")));
     this.PageNumber = ((System.Windows.Controls.TextBox)(this.FindName("PageNumber")));
     this.PageSize   = ((System.Windows.Controls.TextBox)(this.FindName("PageSize")));
     this.Progress   = ((DataSetInDataGrid.Silverlight.ProgressBar)(this.FindName("Progress")));
     this.theGrid    = ((System.Windows.Controls.DataGrid)(this.FindName("theGrid")));
 }