static extern void VOLLIBCS(ref int regn, StringBuilder forst, StringBuilder voleq, ref float mtopp, ref float mtops,
  ref float stump, ref float dbhob, ref float drcob, StringBuilder httype, ref float httot, ref int htlog, ref float ht1prd, ref float ht2prd,
  ref float upsht1, ref float upsht2, ref float upsd1, ref float upsd2, ref int htref, ref float avgz1, ref float avgz2, ref int fclass, ref float dbtbh,
  ref float btr, ref int i3, ref int i7, ref int i15, ref int i20, ref int i21, float[] vol, float[,] logvol,
  float[,] logdia, float[] loglen, float[] bohlt, ref int tlogs, ref float nologp, ref float nologs, ref int cutflg, ref int bfpflg,
  ref int cupflg, ref int cdpflg, ref int spflg, StringBuilder conspec, StringBuilder prod, ref int httfll, StringBuilder live,
  ref int ba, ref int si, StringBuilder ctype, ref int errflg, ref int indeb, ref int pmtflg, ref MRules mRules, int ll1, int ll2, int ll3, int ll4, int ll5, int ll6, int ll7, int charLen);
        public Form1()
        {
            InitializeComponent();

            pmtFormOpen = false;
            pmtOpenCount = 0;
            PMTFLG = 0;
            mRules = new MRules(0,0,0,0,0,0,0,0,0);
            PrintGraphBtn.Enabled = false;
            regionTB.Text = "09";
            int Num;
            bool isInt = int.TryParse(regionTB.Text, out Num);
            if (isInt) loadVolEqList(regionTB.Text);
        }