public override int GetHashCode() { int hash = 1; if (ScheduleID.Length != 0) { hash ^= ScheduleID.GetHashCode(); } if (startTime_ != null) { hash ^= StartTime.GetHashCode(); } if (endTime_ != null) { hash ^= EndTime.GetHashCode(); } if (quote_ != null) { hash ^= Quote.GetHashCode(); } hash ^= strategyIDList_.GetHashCode(); if (TimeZone != 0) { hash ^= TimeZone.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
private void InitialiseControl() { try { this.txtScheduleID.Text = ScheduleID.ToString(); this.txtScheduleName.Text = ScheduleName.ToString(); ScheduleCategorySelectAll(); this.dataGridView1.Columns[0].Visible = false; } catch (Exception ex) { throw ex; } }
public override int GetHashCode() { int hash = 1; if (ScheduleID.Length != 0) { hash ^= ScheduleID.GetHashCode(); } if (quote_ != null) { hash ^= Quote.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
private void InitialiseControl() { try { this.txtScheduleID.Text = ScheduleID.ToString(); this.txtScheduleName.Text = ScheduleName.ToString(); ScheduleDetailsSelectAll(); this.dataGridView1.Columns[0].Visible = false; this.dataGridView1.Columns[1].Visible = false; this.dataGridView1.Columns[5].Visible = false; //Loading this.dataGridView1.Columns[6].Visible = false; //LoadingTimeFrom this.dataGridView1.Columns[9].Visible = false; //RaceReleasePointID this.dataGridView1.Columns[13].Visible = false; //Description this.dataGridView1.Columns[14].Visible = false; //IsStop this.dataGridView1.Columns[15].Visible = false; //StopFromDate this.dataGridView1.Columns[16].Visible = false; //StopFromTime this.dataGridView1.Columns[17].Visible = false; //StopToDate this.dataGridView1.Columns[18].Visible = false; //StopToTime } catch (Exception ex) { throw ex; } }
protected void lvOTSchedule_ItemCommand(object sender, ListViewCommandEventArgs e) { Int64 ScheduleID; Int64.TryParse(e.CommandArgument.ToString(), out ScheduleID); if (ScheduleID > 0) { if (string.Equals(e.CommandName, "EditItem")) { _ScheduleID = ScheduleID; PrepareEditView(); cpeEditor.Collapsed = false; cpeEditor.ClientState = "false"; } else if (string.Equals(e.CommandName, "DeleteItem")) { try { Int64 result = -1; String fe = SqlExpressionBuilder.PrepareFilterExpression(OTScheduleEntity.FLD_NAME_ScheduleID, ScheduleID.ToString(), SQLMatchType.Equal); OTScheduleEntity oTScheduleEntity = new OTScheduleEntity(); result = FCCOTSchedule.GetFacadeCreate().Delete(oTScheduleEntity, fe, DatabaseOperationType.Delete, TransactionRequired.No); if (result == 0) { _ScheduleID = 0; _OTScheduleEntity = new OTScheduleEntity(); PrepareInitialView(); BindOTScheduleList(); MiscUtil.ShowMessage(lblMessage, "O TSchedule has been successfully deleted.", true); } else { MiscUtil.ShowMessage(lblMessage, "Failed to delete O TSchedule.", true); } } catch (Exception ex) { MiscUtil.ShowMessage(lblMessage, ex.Message, true); } } } }
internal ScheduleGetInfoQuery(Address pending) : this() { ScheduleID = new ScheduleID(pending); }
internal ScheduleDeleteTransactionBody(Address pending) : this() { ScheduleID = new ScheduleID(pending); }
internal ScheduleSignTransactionBody(Hashgraph.Address pending) : this() { ScheduleID = new ScheduleID(pending); }