c# - Method must have a return type on an InitializeComponent() method -
i have partial public class
namespace bugnetwpf { public partial class reportscreen_idrangereport : page { public generatereport(mainwindow mainwindow) { initializecomponent(); } } }
the error saying method must have return type, ideas how fix this?
what else saying return type true, i'm guessing want:
namespace bugnetwpf { public partial class reportscreen_idrangereport : page { public reportscreen_idrangereport(mainwindow mainwindow) { initializecomponent(); } } }
the constructor needs have same name class.
Comments
Post a Comment