Beispiel #1
0
        public InfoAni(Ani.Todo info, IPluginHost pluginHost, int id)
        {
            InitializeComponent();

            this.pluginHost = pluginHost;
            this.id         = id;
            LeerIdioma();

            this.info                = info;
            infoPicture1.Idioma      = pluginHost.Get_Language();
            infoPicture1.Informacion = info;
            for (uint i = 0; i < info.anims.LongLength; i++)
            {
                comboBox1.Items.Add(info.anims[i].name);
            }

            imagenes = new Bitmap[info.imgs];
            for (uint i = 0; i < info.imgs; i++)
            {
                imagenes[i] = (Bitmap)info.imagenes[i].bitmap.Clone();
            }

            infoPicture1.Imagenes = imagenes;
            if (info.anims.LongLength > 1)
            {
                comboBox1.SelectedIndex = 1;
            }
            this.infoPicture1.Imagen_Seleccionada = GetIndexByFrame(frameIndex);
        }
Beispiel #2
0
        public InfoAni(Ani.Todo info, IPluginHost pluginHost)
        {
            InitializeComponent();
            this.pluginHost = pluginHost;
            LeerIdioma();

            this.info                = info;
            infoPicture1.Idioma      = pluginHost.Get_Language();
            infoPicture1.Informacion = info;
            imagenes = new Bitmap[info.imgs];
            for (int i = 0; i < info.imgs; i++)
            {
                comboBox1.Items.Add(info.imagenes[i].name);
                imagenes[i] = (Bitmap)info.imagenes[i].bitmap.Clone();
            }

            comboBox1.SelectedIndex = 0;
            pictureBox1.Image       = imagenes[0];
        }
Beispiel #3
0
        public InfoAni(Ani.Todo info, IPluginHost pluginHost)
        {
            InitializeComponent();
            this.pluginHost = pluginHost;
            LeerIdioma();

            this.info = info;
            infoPicture1.Idioma = pluginHost.Get_Language();
            infoPicture1.Informacion = info;
            imagenes = new Bitmap[info.imgs];
            for (int i = 0; i < info.imgs; i++)
            {
                comboBox1.Items.Add(info.imagenes[i].name);
                imagenes[i] = (Bitmap)info.imagenes[i].bitmap.Clone();
            }

            comboBox1.SelectedIndex = 0;
            pictureBox1.Image = imagenes[0];
        }