Example #1
0
 protected virtual Form CreateForm(SampleConfiguration config)
 {
     return(new RenderForm(config.WindowTitle)
     {
         ClientSize = new Size(config.WindowWidth, config.WindowHeight)
     });
 }
Example #2
0
		protected virtual Form CreateForm(SampleConfiguration config)
		{
			return new RenderForm(config.WindowTitle)
	       		{
	       			ClientSize = new Size(config.WindowWidth, config.WindowHeight)
	       		};
		}
Example #3
0
		protected override Form CreateForm(SampleConfiguration configuration)
		{
			_mainForm = new MainForm();
			return _mainForm;
		}