我先建立一个blank solution,然后建立class library,在class library中写的代码如第一张图,然后建立windows forms application,图形界面以及代码如上楼所示。build wfp的时候,主要出现以下三种错误,求指点

E:\kinect\Solution3\WindowsFormsApplication1\Form1.cs(26,13): error CS0122: 'Bank.Bankcustom' is inaccessible due to its protection level
E:\kinect\Solution3\WindowsFormsApplication1\Form1.cs(28,15): error CS1061: 'Bank.Bankcustom' does not contain a definition for 'firstname' and no extension method 'firstname' accepting a first argument of type 'Bank.Bankcustom' could be found (are you missing a using directive or an assembly reference?)
E:\kinect\Solution3\WindowsFormsApplication1\Form1.cs(28,32): error CS1061: 'WindowsFormsApplication1.Form1' does not contain a definition for 'firstname' and no extension method 'firstname' accepting a first argument of type 'WindowsFormsApplication1.Form1' could be found (are you missing a using directive or an assembly reference?)