• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# ObjectList类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中ObjectList的典型用法代码示例。如果您正苦于以下问题:C# ObjectList类的具体用法?C# ObjectList怎么用?C# ObjectList使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ObjectList类属于命名空间,在下文中一共展示了ObjectList类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: HouseCommonServicesForm

 public HouseCommonServicesForm(Apartment apartment, System.DateTime fromDate, System.DateTime toDate, ObjectList<ServiceOld> services)
     : this()
 {
     this.m_Apartment = apartment;
     this.m_FromDate = fromDate;
     this.m_ToDate = toDate;
     this.result = services;
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:8,代码来源:HouseCommonServicesForm.cs


示例17: Awake

    void Awake()
    {
        if (beaconList == null) {
            beaconList = new ObjectList();
        }

        beaconList.addObject (this.gameObject);
    }
开发者ID:MilesAway1980,项目名称:Battle-Action,代码行数:8,代码来源:Beacon.cs


示例18: AreaAddressesForm

 public AreaAddressesForm(ObjectList<LocalAddress> AddressesSource, ObjectList<LocalAddress> AddressesDest)
     : this()
 {
     this.addressesSource = new ObjectList<LocalAddress>();
     this.addressesSource.AddRange(AddressesSource);
     this.addressesDest = new ObjectList<LocalAddress>();
     this.addressesDest.AddRange(AddressesDest);
     this.addressesSelectControl1.Fill(this.addressesSource, this.param);
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:9,代码来源:AreaAddressesForm.cs


示例19: ApartmentCounterAddChangeForm

 public ApartmentCounterAddChangeForm()
 {
     this.m_ApartmentCounter = ApartmentCounter.Null;
     this.m_ToDate = Constants.NullDate;
     this.m_FromDate = Constants.NullDate;
     this.m_SelectedAccountServiceCounters = new ObjectList<AccountServiceCounter>();
     this.m_act = true;
     this.InitializeComponent();
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:9,代码来源:ApartmentCounterAddChangeForm.cs


示例20: AddTree

 public void AddTree(AreaAddressesTree areaAddressesTreeSource)
 {
     System.Collections.Generic.List<System.Windows.Forms.TreeNode> selectedNodes = areaAddressesTreeSource.SelectedNodes;
     areaAddressesTreeSource.Remove();
     foreach (System.Windows.Forms.TreeNode node in selectedNodes)
     {
         AddressesNode node2 = (AddressesNode) node;
         node2.NullDelete();
         if (node2.Nodes.get_Count() == 0)
         {
             this.RemoveNode(node2);
             this.AddNode(new AddressesNode((LocalAddress) node2.get_Tag()));
         }
         else
         {
             ObjectList<LocalAddress> addresses = new ObjectList<LocalAddress>();
             this.GetLeaves(addresses, node2);
             if (addresses.get_Count() != 0)
             {
                 foreach (LocalAddress address in addresses)
                 {
                     AddressesNode nodeByAddress = this.GetNodeByAddress(address);
                     if (nodeByAddress != null)
                     {
                         this.RemoveNode(nodeByAddress);
                     }
                     this.AddNode(new AddressesNode(address));
                 }
             }
         }
     }
     base.Sort();
     this.OnPaintRoots();
     areaAddressesTreeSource.OnPaintRoots();
     if (selectedNodes.get_Count() != 0)
     {
         System.Collections.Generic.List<System.Windows.Forms.TreeNode> list3 = new System.Collections.Generic.List<System.Windows.Forms.TreeNode>();
         foreach (System.Windows.Forms.TreeNode node4 in selectedNodes)
         {
             AddressesNode node5 = this.GetNode(this, (AddressesNode) node4);
             if (node5 != null)
             {
                 list3.Add(node5);
                 if (node5.Parent != null)
                 {
                     node5.Parent.EnsureVisible();
                     node5.Parent.Expand();
                 }
             }
         }
         base.SelectedNodes = list3;
         if (this.OnChangeSelectAddresses != null)
         {
             this.OnChangeSelectAddresses();
         }
     }
 }
开发者ID:u4097,项目名称:SQLScript,代码行数:57,代码来源:AreaAddressesTree.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ObjectLocation类代码示例发布时间:2022-05-24
下一篇:
C# ObjectIsValidEventArgs类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap