예제 #1
0
        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()
        {
            InitializeComponent();
            mAllItems = new List<BasicItemDropStats>();
            mFilteredItems = new ListListViewBinding<BasicItemDropStats>();

            listViewAllDrops.LoadSettings();

            listViewAllDrops.AddField(new ItemNameField("Item", FieldWidthStyle.Percent, 24));
            listViewAllDrops.AddField(new ItemBattleField("Battle", FieldWidthStyle.Percent, 24));
            listViewAllDrops.AddField(new ItemTimesRunField("Times Run"));
            listViewAllDrops.AddField(new ItemTotalDropsField("Total Drops"));
            listViewAllDrops.AddField(new ItemDropsPerRunField("Drops/Run"));
            listViewAllDrops.AddField(new ItemStaminaPerDropField("Stamina/Drop", false));
            listViewAllDrops.AddField(new ItemStaminaToReachField("Stamina to Reach"));
            listViewAllDrops.AddField(new ItemRepeatableField("Is Repeatable"));

            listViewAllDrops.DataBinding = mFilteredItems;
        }
예제 #3
0
        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;
        }