本文整理汇总了C#中ObjectList类的典型用法代码示例。如果您正苦于以下问题:C# ObjectList类的具体用法?C# ObjectList怎么用?C# ObjectList使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ObjectList类属于命名空间,在下文中一共展示了ObjectList类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GameController
//private static bool startup = false;
public GameController()
{
Debug.Log("GameController.");
CurrentGameMode = GameMode.NORMAL;
GameControlProxy.add(this);
WindowConfigure.initAll();
if (Rnd == null) Rnd = new RndGenerator((int)System.DateTime.Now.Ticks);
if (GameActionEvent == null) GameActionEvent = new GameActionEvent();
if (PlayingLogger == null) PlayingLogger = new PlayLogger();
if (DungeonInformation == null) DungeonInformation = new DungeonInformation();
if (ObjectList == null) ObjectList = new ObjectList();
if (DgParameterTable == null) DgParameterTable = new DungeonParameterTable(5);
if (SoundController == null) SoundController = SoundController.Instance;
if (TempGameState == null) TempGameState = new Stack<GameState>();
if (ActCommandController == null) ActCommandController = new ActionCommandController();
if (GlobalGameInformation == null) GlobalGameInformation = new GlobalGameInformation();
if (SystemConfigure == null) SystemConfigure = new SystemConfigure();
if (SystemConfigureMenu == null) SystemConfigureMenu = new GameSystemConfigureMenu();
DataSaveSystem.addGameActionEvent();
//var t = new TagList();
SaveDataConverter.add(this);
//PlayerUIController.setVisible(false);
gameStateChange(GameState.PRELOAD);
filedModeChange(FieldMode.TOWN);
}
示例2: DebtListNoticesForm
public DebtListNoticesForm(DebtDocument debtDocument, ObjectList<Account> selectedAccounts)
{
this.InitializeComponent();
this.set_Font(Manager.WindowFont);
this.m_debtDocument = debtDocument;
this.m_SelectedAccounts = selectedAccounts;
}
示例3: DebtAccountPrintForm
public DebtAccountPrintForm(DebtDocument debtDocument, PrintEnum printEnum, ObjectList<Account> selectedAccounts)
: this()
{
this.m_debtDocument = debtDocument;
this.m_printEnumType = printEnum;
this.m_SelectedAccounts = selectedAccounts;
}
示例4: HouseServiceTariffAddChangeForm
public HouseServiceTariffAddChangeForm(AIS.SN.Model.DomainObjects.HouseServiceTariff tariff)
{
this.InitializeComponent();
this.bsServiceTypes.set_DataSource(ServiceType.GetAllSort());
this.set_Text("Редактирование тарифа на дом");
this.HouseServiceTariff = tariff;
this.nudTariffRate.set_Value(tariff.Rate);
if (tariff.ServiceId > 0L)
{
this.rbService.set_Checked(true);
this.selectServices.set_Enabled(true);
ServiceOld old = ServiceOld.FindById(tariff.ServiceId);
ObjectList<ServiceOld> list = new ObjectList<ServiceOld> {
old
};
this.selectServices.SelectedServices = list;
}
else
{
this.selectServices.set_Enabled(false);
}
ServiceTypeOld old2 = ServiceTypeOld.FindById(tariff.ServiceTypeId);
this.cbServiceTypes.set_SelectedItem(old2);
OrgDocument document = OrgDocument.FindById(tariff.DocId);
this.selectOrgDocument.SelectedOrgDocument = document;
this.dbTariffDate.Value = tariff.FromDate;
this.flag = false;
}
示例5: ApartmentResidentBenefitPropertiesForm_Load
private void ApartmentResidentBenefitPropertiesForm_Load(object sender, System.EventArgs e)
{
this.selectTypeEDK.Faset = FasetsEnum.TypeEDK;
this.selectTypeEDK.RefreshValuesWithNull();
this.selectTypeEDK.SelectedFasetItem = FasetItem.Null;
this.tbFIO.set_Text(this.m_ApartmentResident.PersonName);
ObjectList<Bank> list = new ObjectList<Bank> {
Bank.Null
};
list.AddRange(Bank.FindAll());
this.bsBank.set_DataSource(list);
if (this.m_ApartmentResidentBenefitProperty == null)
{
this.btOK.set_Text("Добавить");
this.set_Text("Добавление");
}
else
{
this.btOK.set_Text("Изменить");
this.set_Text("Изменение");
this.bsBank.set_Position(this.bsBank.Find("shortName", this.m_ApartmentResidentBenefitProperty.BankName));
this.selectTypeEDK.SelectedFasetItem = this.m_ApartmentResidentBenefitProperty.GetKind();
this.dbxFromDate.Value = this.m_ApartmentResidentBenefitProperty.FromDate;
this.dbxCreated.Value = this.m_ApartmentResidentBenefitProperty.Created;
}
}
示例6: AddGroupOrSets
public void AddGroupOrSets(AreaGroup groupSets, ObjectList<Area> area)
{
foreach (Area area2 in area)
{
Area area3 = new Area();
AreaGroup group = groupSets;
area3.Name = area2.Name;
if ((groupSets != null) && (groupSets.Id != -1L))
{
area3.AreaGroupId = group.Id;
}
try
{
area3.SaveChanges();
area3.SaveAddresses(area2.GetAddresses());
}
catch (System.Exception exception)
{
Messages.ShowException(this, exception);
break;
}
if ((area2 != null) && (area2.Id != -1L))
{
this.SetAreas(group.GetAreas());
}
}
}
示例7: FindByAccount
public System.Data.DataSet FindByAccount(ObjectList<Organization> providers, ObjectList<Organization> holders, ObjectList<ServiceTypeOld> serviceTypes, ObjectList<ServiceOld> services, Account account, System.DateTime period, bool isReport, long apartmentTypeId, System.DateTime periodPayment, FasetItem cityBoroughs, ObjectList<Organization> accountHolders)
{
ObjectList<Account> accounts = new ObjectList<Account> {
account
};
return this.FindByAccounts(providers, holders, serviceTypes, services, accounts, period, Constants.NullDate, isReport, apartmentTypeId, periodPayment, cityBoroughs, accountHolders);
}
示例8: Start
void Start()
{
inspector = GameObject.Find ("Inspector").GetComponent ("Inspector") as Inspector;
objectList = GameObject.Find ("ObjectList").GetComponent ("ObjectList") as ObjectList;
parameterList = GameObject.Find ("ParameterList").GetComponent ("ParameterList") as ParameterList;
startPosition = transform.position;
startRotation = transform.eulerAngles;
}
示例9: ProcessPaymentOtherGroupForm
public ProcessPaymentOtherGroupForm(ObjectList<AccountOther> account, POSView printPOS)
{
this.m_NumberFormat.set_NumberDecimalSeparator(".");
this.m_NumberFormat.set_NumberDecimalDigits(2);
this.m_AllAccounts = account;
this.m_PrintPOS = printPOS;
this.InitializeComponent();
}
示例10: AccountRecalcSelectServicesForSavingForm
public AccountRecalcSelectServicesForSavingForm(ObjectList<AccountService> recalcAccountServices)
: this()
{
if (recalcAccountServices != null)
{
this.m_RecalcAccountServices = recalcAccountServices;
}
}
示例11: UjfSelectCommitteeForm
public UjfSelectCommitteeForm()
{
this.selectedOrgPersonnel = new ObjectList<UjfOrganizationPersonnel>();
this.InitializeComponent();
this.set_Font(Manager.WindowFont);
this.organizationId = User.CurrentUser.OrgId;
this.UpdateByOrganizationPersonnels();
}
示例12: onPartStart
protected override void onPartStart()
{
if ((windowPos.x == 0) && (windowPos.y == 0))//windowPos is used to position the GUI window, lets set it in the center of the screen
{
windowPos = new Rect(Screen.width / 2, Screen.height / 2, 10, 10);
}
objectList = new ObjectList<Vessel>(vessel);
}
示例13: PayPaymentOrderSearchForm
public PayPaymentOrderSearchForm()
{
this.InitializeComponent();
if (!base.get_DesignMode())
{
this.m_PaymentOrders = new ObjectList<PayPaymentOrder>();
}
}
示例14: Selected
public void Selected(ObjectList<Bank> banks)
{
this.SelectedBanks = banks;
if (this.OnBanksSelected != null)
{
this.OnBanksSelected(banks);
}
}
示例15: ApartmentResidentBenefitChangeForm
public ApartmentResidentBenefitChangeForm(ObjectList<ApartmentResidentBenefit> listApartmentResidentBenefit, bool isFromDateEnable, bool isToDateEnable, System.DateTime apartmentResidentToDate)
: this()
{
this.laprb = listApartmentResidentBenefit;
this.m_IsFromDateEnable = isFromDateEnable;
this.m_IsToDateEnable = isToDateEnable;
this.apToDate = apartmentResidentToDate;
}