Esempio n. 1
0
        private void IB_Pokemon_Click(object sender, EventArgs e)
        {
            isReady = false;

            ImageBoxUtilities.ImageBoxGridColor(Color.Gainsboro, pkm_1, pkm_2, pkm_3, pkm_4, pkm_5, pkm_6, pkm_7,
                                                pkm_8, pkm_9, pkm_10, pkm_11, pkm_12);

            ((AndiImageBox)sender).GridColor = Color.CadetBlue;

            ReadPokemonData(sender);
        }
Esempio n. 2
0
        private void IB_Items_Click(object sender, EventArgs e)
        {
            try
            {
                txt_itemid.Text = ((AndiImageBox)sender).IndexParent + "";

                ImageBoxUtilities.ImageBoxGridColor(Color.Gainsboro, item_1, item_2, item_3, item_4, item_5, item_6, item_7, item_8,
                                                    item_9, item_10, item_11, item_12, item_13, item_14, item_15, item_16, item_17, item_18,
                                                    item_19, item_20, item_21, item_22, item_23, item_24, item_25, item_26, item_27, item_28,
                                                    item_29, item_30, item_31, item_32);

                ((AndiImageBox)sender).GridColor = Color.CadetBlue;

                ReadItemsData();
            }
            catch (Exception ex)
            {
#if DEBUG
                Database.InsertReader.InsertLogs("error", "Yello", ex);
#endif
            }
        }