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


C# Chummer.Character类代码示例

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


Character类属于Chummer命名空间,在下文中一共展示了Character类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: SkillControl

 public SkillControl(Character _objCharacter)
 {
     InitializeComponent();
     LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
     this._objCharacter = _objCharacter;
     
 }
开发者ID:GhostWhoWalksInside,项目名称:chummer5a_Dashboard,代码行数:7,代码来源:SkillControl.cs

示例2: frmSelectCritterPower

 public frmSelectCritterPower(Character objCharacter)
 {
     InitializeComponent();
     LanguageManager.Instance.Load(this);
     _objCharacter = objCharacter;
     MoveControls();
 }
开发者ID:janhelke,项目名称:chummer2,代码行数:7,代码来源:frmSelectCritterPower.cs

示例3: frmCreatePACKSKit

		public frmCreatePACKSKit(Character objCharacter)
		{
			InitializeComponent();
			LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
			_objCharacter = objCharacter;
			MoveControls();
		}
开发者ID:Vanatrix,项目名称:chummer5a,代码行数:7,代码来源:frmCreatePACKSKit.cs

示例4: frmCreateImprovement

 public frmCreateImprovement(Character objCharacter)
 {
     InitializeComponent();
     LanguageManager.Instance.Load(this);
     _objCharacter = objCharacter;
     MoveControls();
 }
开发者ID:janhelke,项目名称:chummer2,代码行数:7,代码来源:frmCreateImprovement.cs

示例5: frmSelectProgram

		public frmSelectProgram(Character objCharacter)
        {
            InitializeComponent();
			LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
			_objCharacter = objCharacter;
			MoveControls();
        }
开发者ID:Vanatrix,项目名称:chummer5a,代码行数:7,代码来源:frmSelectProgram.cs

示例6: ContactControl

        public ContactControl(Character objCharacter)
        {
            InitializeComponent();
            _objCharacter = objCharacter;

            if (!_objCharacter.Created)
            {
                if (_objCharacter.FriendsInHighPlaces)
                {
                    nudConnection.Maximum = 12;
                }
                else
                {
                    nudConnection.Maximum = 6;
                }
            }
            else
            {
                nudConnection.Maximum = 12;
            }

            //We don't actually pay for contacts in play so everyone is free
            //Don't present a useless field
            if (_objCharacter.Created)
            {
                chkFree.Visible = false;
            }

            LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
        }
开发者ID:blackmage5242,项目名称:chummer5a-master,代码行数:30,代码来源:ContactControl.cs

示例7: frmSelectLifeModule

 public frmSelectLifeModule(Character objCharacter, int stage)
 {
     InitializeComponent();
     LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
     _objCharacter = objCharacter;
     _intStage = stage;
     MoveControls();
 }
开发者ID:AMDX9,项目名称:chummer5a,代码行数:8,代码来源:frmSelectLifeModule.cs

示例8: frmSelectLifestyleAdvanced

 public frmSelectLifestyleAdvanced(Lifestyle objLifestyle, Character objCharacter)
 {
     InitializeComponent();
     LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
     _objCharacter = objCharacter;
     _objLifestyle = objLifestyle;
     MoveControls();
 }
开发者ID:Nitsuj83,项目名称:chummer5a,代码行数:8,代码来源:frmSelectLifestyleAdvanced.cs

示例9: frmSelectAdvancedLifestyle

 public frmSelectAdvancedLifestyle(Lifestyle objLifestyle, Character objCharacter)
 {
     InitializeComponent();
     LanguageManager.Instance.Load(this);
     _objCharacter = objCharacter;
     _objLifestyle = objLifestyle;
     MoveControls();
 }
开发者ID:janhelke,项目名称:chummer2,代码行数:8,代码来源:frmSelectAdvancedLifestyle.cs

示例10: SkillGroupControl

 public SkillGroupControl(CharacterOptions objOptions, Character objCharacter, bool blnCareer = false)
 {
     InitializeComponent();
     LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
     _blnCareer = blnCareer;
     _objOptions = objOptions;
     _objCharacter = objCharacter;
 }
开发者ID:Nitsuj83,项目名称:chummer5a,代码行数:8,代码来源:SkillGroupControl.cs

示例11: frmNaturalWeapon

 public frmNaturalWeapon(Character objCharacter)
 {
     InitializeComponent();
     LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
     _objCharacter = objCharacter;
     _objXmlPowersDocument = XmlManager.Instance.Load("critterpowers.xml");
     _objXmlSkillsDocument = XmlManager.Instance.Load("skills.xml");
     MoveControls();
 }
开发者ID:Nitsuj83,项目名称:chummer5a,代码行数:9,代码来源:frmNaturalWeapon.cs

示例12: frmSelectNexus

 public frmSelectNexus(Character objCharacter, bool blnCareer = false)
 {
     InitializeComponent();
     LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
     _objCharacter = objCharacter;
     _objGear = new Gear(objCharacter);
     chkFreeItem.Visible = blnCareer;
     MoveControls();
 }
开发者ID:Nitsuj83,项目名称:chummer5a,代码行数:9,代码来源:frmSelectNexus.cs

示例13: frmSelectCyberware

 public frmSelectCyberware(Character objCharacter, bool blnCareer = false)
 {
     InitializeComponent();
     LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
     chkFree.Visible = blnCareer;
     _blnCareer = blnCareer;
     _objCharacter = objCharacter;
     MoveControls();
 }
开发者ID:argo2445,项目名称:chummer5a,代码行数:9,代码来源:frmSelectCyberware.cs

示例14: frmCareer

        public frmCareer(Character objCharacter)
        {
            _objCharacter = objCharacter;
            _objOptions = _objCharacter.Options;

            _objFunctions = new CommonFunctions(_objCharacter);
            _objFunctions.ContextMenuArmor = cmsArmor;
            _objFunctions.ContextMenuArmorMod = cmsArmorMod;
            _objFunctions.ContextMenuCyberware = cmsCyberware;
            _objFunctions.ContextMenuGear = cmsGear;
            _objFunctions.ContextMenuVehicle = cmsVehicle;
            _objFunctions.ContextMenuVehicleMod = cmsVehicle;
            _objFunctions.ContextMenuWeapon = cmsWeapon;
            _objFunctions.ContextMenuWeaponAccessory = cmsWeaponAccessoryGear;
            _objFunctions.ContextMenuWeaponMod = cmsWeaponMod;

            _objImprovementManager = new ImprovementManager(_objCharacter);
            _objController = new MainController(_objCharacter);
            InitializeComponent();

            // Add EventHandlers for the MAG and RES enabled events and tab enabled events.
            _objCharacter.MAGEnabledChanged += objCharacter_MAGEnabledChanged;
            _objCharacter.RESEnabledChanged += objCharacter_RESEnabledChanged;
            _objCharacter.AdeptTabEnabledChanged += objCharacter_AdeptTabEnabledChanged;
            _objCharacter.MagicianTabEnabledChanged += objCharacter_MagicianTabEnabledChanged;
            _objCharacter.TechnomancerTabEnabledChanged += objCharacter_TechnomancerTabEnabledChanged;
            _objCharacter.CritterTabEnabledChanged += objCharacter_CritterTabEnabledChanged;
            _objCharacter.BlackMarketEnabledChanged += objCharacter_BlackMarketChanged;
            _objCharacter.SensitiveSystemChanged += objCharacter_SensitiveSystemChanged;
            _objCharacter.UneducatedChanged += objCharacter_UneducatedChanged;
            _objCharacter.UncouthChanged += objCharacter_UncouthChanged;
            _objCharacter.InfirmChanged += objCharacter_InfirmChanged;
            GlobalOptions.Instance.MRUChanged += PopulateMRU;

            LanguageManager.Instance.Load(this);

            // Update the text in the Menus so they can be merged with frmMain properly.
            foreach (ToolStripMenuItem objItem in mnuCreateMenu.Items.OfType<ToolStripMenuItem>())
            {
                if (objItem.Tag != null)
                {
                    objItem.Text = LanguageManager.Instance.GetString(objItem.Tag.ToString());
                }
            }

            _lvwKarmaColumnSorter = new ListViewColumnSorter();
            _lvwKarmaColumnSorter.SortColumn = 0;
            _lvwKarmaColumnSorter.Order = SortOrder.Descending;
            lstKarma.ListViewItemSorter = _lvwKarmaColumnSorter;
            _lvwNuyenColumnSorter = new ListViewColumnSorter();
            _lvwNuyenColumnSorter.SortColumn = 0;
            _lvwNuyenColumnSorter.Order = SortOrder.Descending;
            lstNuyen.ListViewItemSorter = _lvwNuyenColumnSorter;

            SetTooltips();
            MoveControls();
        }
开发者ID:janhelke,项目名称:chummer2,代码行数:57,代码来源:frmCareer.cs

示例15: frmCreateSpell

		public frmCreateSpell(Character objCharacter)
		{
			_objCharacter = objCharacter;
			_objSpell = new Spell(_objCharacter);
			InitializeComponent();
			LanguageManager.Instance.Load(GlobalOptions.Instance.Language, this);
			_objXmlDocument = XmlManager.Instance.Load("spells.xml");
			MoveControls();
		}
开发者ID:AMDX9,项目名称:chummer5a,代码行数:9,代码来源:frmCreateSpell.cs


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