public frm_productlist() { if (frm == null) { frm = this; } InitializeComponent(); }
static void form_closed(object sender, FormClosedEventArgs e) { frm = null; }