如何在一個專案中,讓type 可以在form 和class共用??(編號:969)

小妹想在專案中自定一個type 讓form 和class 都可以用,也可以當
參數互傳,可是都會出現 public 和private 的問題,請各位高手幫幫我!