コード例 #1
0
ファイル: FFRKViewItemSearch.cs プロジェクト: moorecp/ffrkx
        public FFRKViewItemSearch()
        {
            InitializeComponent();
            mBinding           = new ListListViewBinding <BasicItemDropStats>();
            mUnfilteredResults = new List <BasicItemDropStats>();
            mParametersShowing = true;

            listViewResults.LoadSettings();

            mStaminaPerDropField = new ItemStaminaPerDropField("Stamina/Drop", checkBoxUseStamToReach.Checked);
            listViewResults.AddField(new ItemNameField("Item", FieldWidthStyle.Percent, 15));
            listViewResults.AddField(new ItemWorldField("World", FieldWidthStyle.Percent, 10));
            listViewResults.AddField(new ItemDungeonField("Dungeon", FieldWidthStyle.Percent, 15));
            listViewResults.AddField(new ItemBattleField("Battle", FieldWidthStyle.Percent, 15));
            listViewResults.AddField(new ItemRarityField("Rarity"));
            listViewResults.AddField(new ItemSynergyField("Synergy"));
            listViewResults.AddField(new ItemDropsPerRunField("Drops/Run"));
            listViewResults.AddField(mStaminaPerDropField);
            listViewResults.AddField(new ItemTotalDropsField("Total Drops"));
            listViewResults.AddField(new ItemTimesRunField("Times Run"));
            listViewResults.AddField(new ItemBattleStaminaField("Stamina"));
            listViewResults.AddField(new ItemStaminaToReachField("Stamina to Reach"));
            listViewResults.AddField(new ItemRepeatableField("Is Repeatable"));

            listViewResults.DataBinding = mBinding;
        }
コード例 #2
0
 public FFRKViewActiveDungeon()
 {
     this.InitializeComponent();
     this.mAllItems      = new List <BasicItemDropStats>();
     this.mFilteredItems = new ListListViewBinding <BasicItemDropStats>();
     this.listViewAllDrops.LoadSettings();
     this.listViewAllDrops.AddField((IListViewField) new ItemNameField("Item", FieldWidthStyle.Percent, 24));
     this.listViewAllDrops.AddField((IListViewField) new ItemBattleField("Battle", FieldWidthStyle.Percent, 24));
     this.listViewAllDrops.AddField((IListViewField) new ItemTimesRunField("Times Run"));
     this.listViewAllDrops.AddField((IListViewField) new ItemTotalDropsField("Total Drops"));
     this.listViewAllDrops.AddField((IListViewField) new ItemDropsPerRunField("Drops/Run"));
     this.listViewAllDrops.AddField((IListViewField) new ItemStaminaPerDropField("Stamina/Drop", false));
     this.listViewAllDrops.AddField((IListViewField) new ItemStaminaToReachField("Stamina to Reach"));
     this.listViewAllDrops.AddField((IListViewField) new ItemRepeatableField("Is Repeatable"));
     this.listViewAllDrops.DataBinding = (IListViewBinding)this.mFilteredItems;
 }
コード例 #3
0
 public FFRKViewActiveBattle()
 {
     this.InitializeComponent();
     this.mAllPrevItems      = new List <BasicItemDropStats>();
     this.mFilteredPrevItems = new ListListViewBinding <BasicItemDropStats>();
     this.listViewPrevDrops.LoadSettings();
     this.listViewPrevDrops.AddField((IListViewField) new ItemNameField("Item", FieldWidthStyle.Percent, 24));
     this.listViewPrevDrops.AddField((IListViewField) new ItemDropsPerRunField("Drops/Run"));
     this.listViewPrevDrops.AddField((IListViewField) new ItemTimesRunField("Times Run"));
     this.listViewPrevDrops.AddField((IListViewField) new ItemTotalDropsField("Total Drops"));
     foreach (ColumnHeader column in this.listViewPrevDrops.Columns)
     {
         column.Width = -2;
     }
     this.listViewPrevDrops.DataBinding = (IListViewBinding)this.mFilteredPrevItems;
 }
コード例 #4
0
        public FFRKViewInventory()
        {
            InitializeComponent();

            mBuddyList = new ListListViewBinding <DataBuddyInformation>();

            foreach (RealmSynergy.SynergyValue synergy in RealmSynergy.Values)
            {
                comboBoxSynergy.Items.Add(new SynergyFormatter(synergy));
            }
            comboBoxViewMode.SelectedIndex         = 0;
            comboBoxUpgradeMode.SelectedIndex      = (int)ViewUpgradeModeComboIndex.CurrentUpgradeCurrentLevel;
            comboBoxSynergy.SelectedIndex          = 0;
            comboBoxScoreSelection.SelectedIndex   = (int)ScoreUpgradeModeComboIndex.MaxUpgradeMaxLevel;
            dgcCharacterDefensiveStat.CellTemplate = new EnumDataViewGridComboBoxCell <AnalyzerSettings.DefensiveStat>();
            dgcCharacterOffensiveStat.CellTemplate = new EnumDataViewGridComboBoxCell <AnalyzerSettings.OffensiveStat>();
        }
コード例 #5
0
ファイル: FFRKViewActiveBattle.cs プロジェクト: moorecp/ffrkx
        public FFRKViewActiveBattle()
        {
            InitializeComponent();
            mAllPrevItems      = new List <BasicItemDropStats>();
            mFilteredPrevItems = new ListListViewBinding <BasicItemDropStats>();

            listViewPrevDrops.LoadSettings();

            listViewPrevDrops.AddField(new ItemNameField("Item", FieldWidthStyle.Percent, 24));
            //listViewPrevDrops.AddField(new ItemBattleField("Battle", FieldWidthStyle.Percent, 24));
            listViewPrevDrops.AddField(new ItemDropsPerRunField("Drops/Run"));
            listViewPrevDrops.AddField(new ItemTimesRunField("Times Run"));
            listViewPrevDrops.AddField(new ItemTotalDropsField("Total Drops"));
            //listViewPrevDrops.AddField(new ItemDropsPerRunField("Drops/Run"));
            //listViewPrevDrops.AddField(new ItemStaminaPerDropField("Stamina/Drop", false));
            //listViewPrevDrops.AddField(new ItemStaminaToReachField("Stamina to Reach"));
            //listViewPrevDrops.AddField(new ItemRepeatableField("Is Repeatable"));
            foreach (ColumnHeader column in listViewPrevDrops.Columns)
            {
                column.Width = -2;
            }
            listViewPrevDrops.DataBinding = mFilteredPrevItems;
        }