public frmNewFile(frmSnippet frmSnippet) { InitializeComponent(); fs = frmSnippet; }
private bool fileChanged = false; // lets us know if the currently displayed snippet has been changed public frmSnippet() { InitializeComponent(); fs = this; }