Ok, now I know that my knowledge of c++ is very poor and this kind of editing source code is too hard for me. So I will put it directly into my form, it will not so comfortable, but it will work.