public HsWebTitle(HsWebForm parent) { InitializeComponent(); mainFrm = parent; btnHd = (int)(((float)35 / 56) * btnWd); this.Height = btnHd + 2; this.Width = (btnWd + 2) * 3 + 14; }
public HsWebForm() { InitializeComponent(); HsWebForm.g_WebForm = this; }