public Bitmask(Meta meta, string iEntName, Map map, int iOffsetInChunk, int iBitCount, IFPIO.Option[] ioptions, int iLineNumber)
{
this.meta = meta;
this.LineNumber = iLineNumber;
this.Options = ioptions;
this.Bits = new bool[iBitCount];
this.visibleBits = new bool[iBitCount];
this.bitCount = iBitCount;
this.size = iBitCount / 8;
this.chunkOffset = iOffsetInChunk;
this.map = map;
this.EntName = iEntName;
InitializeComponent();
this.label1.Text = "Bitmask" + iBitCount.ToString();
this.label1.Left -= iBitCount.ToString().Length * 8;
this.getLongestName();
this.MakeControls();
this.Size = this.PreferredSize;
this.Dock = DockStyle.Top;
this.Controls[0].Text = EntName;
this.AutoSize = true;
}