public frmBetTargetCollectionManagerUI(BetTargetCollection collection1, string text1, string text2)
 {
     this._strComment = "";
     this._objBetTargetCollection = collection1;
     this._strComment = text1;
     this._strSportBookName = text2;
 }
 private void FrmUI_OKClicked(BetTargetCollection collection1, string text1)
 {
     OKClickedEventHandler oKClickedEvent = this.OKClickedEvent;
     if (oKClickedEvent != null)
     {
         oKClickedEvent(collection1, text1);
     }
 }
 public BetTargetCollectionManagerUI(BetTargetCollection collection1, string text1)
 {
     this._objBetTargetCollection = collection1;
     this._strComment = text1;
 }
예제 #4
0
 public void set_GlobalBetTargetCollection(BetTargetCollection collection1)
 {
     this._objGlobalBetTargetCol = collection1;
 }
예제 #5
0
        private void dgvSelectedMemberList_CellClick(object o, DataGridViewCellEventArgs args1)
        {
            try
            {
                if (((args1.ColumnIndex > -1) & (args1.ColumnIndex < this.get_dgvSelectedMemberList().Columns.Count)) && (this.get_dgvSelectedMemberList().Columns[args1.ColumnIndex].Name == "BetTarget"))
                {
                    if (this.get_dgvSelectedMemberList().Rows[args1.RowIndex].Cells[args1.ColumnIndex].Value == null)
                    {
                        this.get_dgvSelectedMemberList().Rows[args1.RowIndex].Cells[args1.ColumnIndex].Value = "ALL";
                    }
                    BetTargetCollection targets = new BetTargetCollection();
                    targets.FromString(Conversions.ToString(this.get_dgvSelectedMemberList().Rows[args1.RowIndex].Cells[args1.ColumnIndex].Value));
                    this.set__objBetTargetColUI(new BetTargetCollectionManagerUI(targets, Conversions.ToString(args1.ColumnIndex) + "," + Conversions.ToString(args1.RowIndex)));

                    //this.get__objBetTargetColUI().ShowUI();
                }
            }
            catch (Exception exception1)
            {
                ProjectData.SetProjectError(exception1);
                Exception exception = exception1;
                ProjectData.ClearProjectError();
            }
        }
예제 #6
0
        private void UpdateGlobalBetTargetColUI_OKClicked(BetTargetCollection collection1, string s1)
        {
            try
            {

                this._objMemberList.set_GlobalBetTargetCollection(collection1);
                this.get_txtBetTarget().Text = this._objMemberList.get_GlobalBetTargetCollection().ToString();
            }
            catch (Exception exception1)
            {
                ProjectData.SetProjectError(exception1);
                Exception exception = exception1;
                ProjectData.ClearProjectError();
            }
        }
예제 #7
0
 private void UpdateBetTargetColUI_OKClicked(BetTargetCollection collection1, string text1)
 {
     try
     {
         List<string> list = this.SeperateStringBySymbol2(text1, ",");
         if (list.Count == 2)
         {
             int num = (int) Math.Round(Conversion.Val(list[0]));
             int num2 = (int) Math.Round(Conversion.Val(list[1]));
             this.get_dgvSelectedMemberList().Rows[num2].Cells[num].Value = collection1.ToString();
         }
     }
     catch (Exception exception1)
     {
         ProjectData.SetProjectError(exception1);
         Exception exception = exception1;
         ProjectData.ClearProjectError();
     }
 }