/* the event for button3 (view sku export) click -> open SKU Export form */ private void button3_Click(object sender, EventArgs e) { if (skuExport.Visible) { return; } skuExport = new SkuExport(this); skuExport.Show(this); }
/* constructor that initialize graphic components */ public dashboard(Form parent) { InitializeComponent(); splash = new Splash(this); excelExport = new ExcelExport(this); skuExport = new SkuExport(this); admin = new Admin(this); this.parent = parent; }