ALready deleted the project - it was just a Layout with 2 buttons, created by me anew. And this error was in
MainForm.RootPane.LoadLayout("Layout1") line.
But your "watermark" sample is OK, without this error, so i used it to go on.
What are required settings during Layout creation ?