Beispiel #1
0
 private void ModifyBetDateFrm_Load(object sender, EventArgs e)
 {
     dateTimePickerBets.Value   = DateTimeConverterUtils.GetDefaultFilterDateFrom();
     dateTimePickerBetsTo.Value = DateTimeConverterUtils.GetDefaultFilterDateTo();
     FillUpBetList();
     ResizeColumnsBetList();
     LoadTheAutoSelect();
 }
 private void SetBetsAndResultDefaultList()
 {
     //Prepare the Dates
     dateTimePickerDrawResult.Value   = DateTimeConverterUtils.GetDefaultFilterDateFrom();
     dateTimePickerBets.Value         = DateTimeConverterUtils.GetDefaultFilterDateFrom();
     dateTimePickerBetsTo.Value       = DateTimeConverterUtils.GetDefaultFilterDateTo();
     dateTimePickerDrawResultTo.Value = DateTimeConverterUtils.GetDefaultFilterDateTo();
     RefreshWinningNumbersGridContent();
     RefreshBets();
 }
 private void HitComparisonFrm_Load(object sender, EventArgs e)
 {
     SetupFormLabels();
     dateTimePickerFrom.Value        = DateTimeConverterUtils.GetDefaultFilterDateFrom();
     dateTimePickerTo.Value          = DateTimeConverterUtils.GetDefaultFilterDateTo();
     toolStripProgBarRefresh.Value   = 0;
     toolStripProgBarRefresh.Visible = false;
     toolStripStatusLbl.Visible      = false;
     InitializesObjectListViewDataBinding();
     StartInitialization();
 }
Beispiel #4
0
 private void InitializesForms()
 {
     SetupForms();
     dateTimePickerBets.Value   = DateTimeConverterUtils.GetDefaultFilterDateFrom();
     dateTimePickerBetsTo.Value = DateTimeConverterUtils.GetDefaultFilterDateTo();
     InitializesListViewColumns();
     FillUpBetList();
     ResizeColumnsBetList();
     objectListViewBets.CellEditActivation  = BrightIdeasSoftware.ObjectListView.CellEditActivateMode.SingleClickAlways;
     objectListViewBets.CellEditStarting   += ObjectListViewBets_CellEditStarting;
     objectListViewBets.CellEditFinishing  += ObjectListViewBets_CellEditFinishing;
     objectListViewBets.CellEditFinished   += ObjectListViewBets_CellEditFinished;
     objectListViewBets.UseHotControls      = false;
     objectListViewBets.UseCellFormatEvents = false;
     toolStripProgBar.Visible = false;
     toolStripStatusLbl.Text  = "";
 }