private void InitializeCharacters()
 {
     foreach (AstCharType type in Enum.GetValues(typeof(AstCharType)))
     {
         int i = Array.IndexOf(Enum.GetValues(type.GetType()), type);
         charactors[i] = new AstCharactor(this, type);
     }
 }
 public Editor(AstCharactor chr)
 {
     this.chr = chr;
     InitializeComponent();
     InitializeStatus();
     Text = string.Format(Text, chr.Name, chr.Level);
     Icon = Resources.icon;
 }