Beispiel #1
0
        private void LoadGif()
        {
            var dto = new CharacterDA();

            dto = CHARC;
            dto.DTO.Model.GenerateType = CharacterGenerateType.GifSkill;
            dto.Generate(dto.DTO);

            picboxGif.Load(dto.DTO.Model.LINK_GIF);
        }
Beispiel #2
0
        private void OnSelectedCharacter(object sender, EventArgs e)
        {
            var dto = new CharacterDA();

            dto = CHARC;

            dto.DTO.Model.GenerateType = CharacterGenerateType.GET_FFAffiliation;
            dto.DTO.Model.CHARAC       = ddlCharacterList.SelectedValue.ToString();
            dto.Generate(dto.DTO);

            picboxCharacter.Image    = (Image)CharacterRes.GetObject(dto.DTO.Model.CHARAC);
            picboxCharacterBtn.Image = (Image)CharacterRes.GetObject(dto.DTO.Model.BTN_CHARAC);
        }
Beispiel #3
0
        private void UCCharacterList_Load(object sender, EventArgs e)
        {
            BindGuildLis();
            BindCharacterLis();
            HideButtonImage();

            var dto = new CharacterDA();

            dto.DTO.Model.GenerateType = CharacterGenerateType.GET_FFAffiliation;
            dto.DTO.Model.CHARAC       = ddlCharacterList.SelectedValue.ToString();
            dto.Generate(dto.DTO);

            picboxCharacter.Image    = (Image)CharacterRes.GetObject(dto.DTO.Model.CHARAC);
            picboxCharacterBtn.Image = (Image)CharacterRes.GetObject(dto.DTO.Model.BTN_CHARAC);

            CHARC = dto;
        }
        private void OnSelectedCharacter(object sender, EventArgs e)
        {
            var dto = new CharacterDA();

            dto = CHARC;

            dto.DTO.Model.GenerateType = CharacterGenerateType.GET_Guild;
            dto.DTO.Model.CHARAC       = ddlCharacterList.SelectedValue.ToString();
            dto.Generate(dto.DTO);

            picboxCharacter.Image    = (Image)CharacterRes.GetObject(dto.DTO.Model.CHARAC);
            picboxCharacterBtn.Image = (Image)CharacterRes.GetObject(dto.DTO.Model.BTN_CHARAC);
            btnUnionBurst.Image      = (Image)CharacterRes.GetObject(dto.DTO.Model.UNION_BURST);
            btnSkill_1.Image         = (Image)CharacterRes.GetObject(dto.DTO.Model.SKILL1);
            btnSkill_2.Image         = (Image)CharacterRes.GetObject(dto.DTO.Model.SKILL2);
            btnExSkill.Image         = (Image)CharacterRes.GetObject(dto.DTO.Model.EXSKILL);
            picboxGif.Image          = null;

            ShowButtonImage();
        }