当前位置: 首页>>代码示例>>C#>>正文


C# ObjectList类代码示例

本文整理汇总了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);
 }
开发者ID:sgmtjp,项目名称:Git-SODATERUTOWER,代码行数:26,代码来源:GameController.cs

示例2: DebtListNoticesForm

 public DebtListNoticesForm(DebtDocument debtDocument, ObjectList<Account> selectedAccounts)
 {
     this.InitializeComponent();
     this.set_Font(Manager.WindowFont);
     this.m_debtDocument = debtDocument;
     this.m_SelectedAccounts = selectedAccounts;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:7,代码来源:DebtListNoticesForm.cs

示例3: DebtAccountPrintForm

 public DebtAccountPrintForm(DebtDocument debtDocument, PrintEnum printEnum, ObjectList<Account> selectedAccounts)
     : this()
 {
     this.m_debtDocument = debtDocument;
     this.m_printEnumType = printEnum;
     this.m_SelectedAccounts = selectedAccounts;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:7,代码来源:DebtAccountPrintForm.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:28,代码来源:HouseServiceTariffAddChangeForm.cs

示例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;
     }
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:26,代码来源:ApartmentResidentBenefitPropertiesForm.cs

示例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());
         }
     }
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:27,代码来源:AddressAreaGroupForm.cs

示例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);
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:7,代码来源:DebtorMapper.cs

示例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;
 }
开发者ID:nkrishnaswamy,项目名称:ecicomposer,代码行数:8,代码来源:GhostFreeRoamCamera.cs

示例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();
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:ProcessPaymentOtherGroupForm.cs

示例10: AccountRecalcSelectServicesForSavingForm

 public AccountRecalcSelectServicesForSavingForm(ObjectList<AccountService> recalcAccountServices)
     : this()
 {
     if (recalcAccountServices != null)
     {
         this.m_RecalcAccountServices = recalcAccountServices;
     }
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:AccountRecalcSelectServicesForSavingForm.cs

示例11: UjfSelectCommitteeForm

 public UjfSelectCommitteeForm()
 {
     this.selectedOrgPersonnel = new ObjectList<UjfOrganizationPersonnel>();
     this.InitializeComponent();
     this.set_Font(Manager.WindowFont);
     this.organizationId = User.CurrentUser.OrgId;
     this.UpdateByOrganizationPersonnels();
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:UjfSelectCommitteeForm.cs

示例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);
 }
开发者ID:Veterok,项目名称:Inspector,代码行数:8,代码来源:InspectorPart.cs

示例13: PayPaymentOrderSearchForm

 public PayPaymentOrderSearchForm()
 {
     this.InitializeComponent();
     if (!base.get_DesignMode())
     {
         this.m_PaymentOrders = new ObjectList<PayPaymentOrder>();
     }
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:PayPaymentOrderSearchForm.cs

示例14: Selected

 public void Selected(ObjectList<Bank> banks)
 {
     this.SelectedBanks = banks;
     if (this.OnBanksSelected != null)
     {
         this.OnBanksSelected(banks);
     }
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:SelectBenefitBanks.cs

示例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;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:ApartmentResidentBenefitChangeForm.cs


注:本文中的ObjectList类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。