Exemple #1
0
 public VoiceroidInfo(VoiceroidType Type, SystemType SystemType, string VoiceroidTitle, string SaveWindowTitle,
                      UInt32 Interval, int EditBoxIndex, int PlayButtonIndex, int OpenSaveWindowIndex, int AddressToolbarIndex,
                      int FileNameTextBoxIndex, int SaveButtonIndex)
 {
     this.Type                 = Type;
     this.SType                = SystemType;
     this.VoiceroidTitle       = VoiceroidTitle;
     this.SaveWindowTitle      = SaveWindowTitle;
     this.Interval             = Interval;
     this.EditBoxIndex         = EditBoxIndex;
     this.PlayButtonIndex      = PlayButtonIndex;
     this.OpenSaveWindowIndex  = OpenSaveWindowIndex;
     this.AddressToolbarIndex  = AddressToolbarIndex;
     this.FileNameTextBoxIndex = FileNameTextBoxIndex;
     this.SaveButtonIndex      = SaveButtonIndex;
 }
 public VoiceroidInfo(VoiceroidType Type, SystemType SystemType, string VoiceroidTitle, string SaveWindowTitle,
     UInt32 Interval, int EditBoxIndex,int PlayButtonIndex, int OpenSaveWindowIndex, int AddressToolbarIndex,
     int FileNameTextBoxIndex, int SaveButtonIndex)
 {
     this.Type = Type;
     this.SType = SystemType;
     this.VoiceroidTitle = VoiceroidTitle;
     this.SaveWindowTitle = SaveWindowTitle;
     this.Interval = Interval;
     this.EditBoxIndex = EditBoxIndex;
     this.PlayButtonIndex = PlayButtonIndex;
     this.OpenSaveWindowIndex = OpenSaveWindowIndex;
     this.AddressToolbarIndex = AddressToolbarIndex;
     this.FileNameTextBoxIndex = FileNameTextBoxIndex;
     this.SaveButtonIndex = SaveButtonIndex;
 }
 public static VoiceroidInfo Create(VoiceroidType type)
 {
     switch (type)
     {
         case VoiceroidType.Yukari:
             return CreateYukari();
         case VoiceroidType.YukariEx:
             return CreateYukariEx();
         //case VoiceroidType.Maki:
         //    return CreateMaki();
         case VoiceroidType.Akane:
             return CreateAkane();
         case VoiceroidType.Aoi:
             return CreateAoi();
         default:
             return CreateYukari();
     }
 }
        public static VoiceroidInfo Create(VoiceroidType type)
        {
            switch (type)
            {
            case VoiceroidType.Yukari:
                return(CreateYukari());

            case VoiceroidType.YukariEx:
                return(CreateYukariEx());

            //case VoiceroidType.Maki:
            //    return CreateMaki();
            case VoiceroidType.Akane:
                return(CreateAkane());

            case VoiceroidType.Aoi:
                return(CreateAoi());

            default:
                return(CreateYukari());
            }
        }