private void SkierRankingList_Load(object sender, EventArgs e) { if (Properties.Settings.Default.SkierRanking_Width > 0) { this.Width = Properties.Settings.Default.SkierRanking_Width; } if (Properties.Settings.Default.SkierRanking_Height > 0) { this.Height = Properties.Settings.Default.SkierRanking_Height; } if (Properties.Settings.Default.SkierRanking_Location.X > 0 && Properties.Settings.Default.SkierRanking_Location.Y > 0) { this.Location = Properties.Settings.Default.SkierRanking_Location; } // TODO: This line of code loads data into the 'waterskiDataSet.SkierRanking' table. You can move, or remove it, as needed. winStatusMsg.Text = "Retrieving skier ranking list data"; Cursor.Current = Cursors.WaitCursor; this.DataGridView.BeginInvoke((MethodInvoker) delegate() { Application.DoEvents(); Cursor.Current = Cursors.Default; winStatusMsg.Text = "Skier ranking list retrieved"; }); isDataModified = false; sortDialogForm = new SortDialogForm(); sortDialogForm.ColumnList = DataGridView.Columns; filterDialogForm = new Common.FilterDialogForm(); filterDialogForm.ColumnList = DataGridView.Columns; isDataModified = false; myDataTable = getSkierRankingData(); loadDataView(); }
private void SkierRankingList_Load(object sender, EventArgs e) { if (Properties.Settings.Default.SkierRanking_Width > 0) { this.Width = Properties.Settings.Default.SkierRanking_Width; } if (Properties.Settings.Default.SkierRanking_Height > 0) { this.Height = Properties.Settings.Default.SkierRanking_Height; } if (Properties.Settings.Default.SkierRanking_Location.X > 0 && Properties.Settings.Default.SkierRanking_Location.Y > 0) { this.Location = Properties.Settings.Default.SkierRanking_Location; } // TODO: This line of code loads data into the 'waterskiDataSet.SkierRanking' table. You can move, or remove it, as needed. winStatusMsg.Text = "Retrieving skier ranking list data"; Cursor.Current = Cursors.WaitCursor; this.DataGridView.BeginInvoke((MethodInvoker)delegate() { Application.DoEvents(); Cursor.Current = Cursors.Default; winStatusMsg.Text = "Skier ranking list retrieved"; }); isDataModified = false; sortDialogForm = new SortDialogForm(); sortDialogForm.ColumnList = DataGridView.Columns; filterDialogForm = new Common.FilterDialogForm(); filterDialogForm.ColumnList = DataGridView.Columns; isDataModified = false; myDataTable = getSkierRankingData(); loadDataView(); }