public static PBGlobalDefinitions_wpfapp GetInstance()
	{
		if (_instance == null)
			_instance = new PBGlobalDefinitions_wpfapp();

		return _instance;
	}
	public override void open(Sybase.PowerBuilder.PBString commandline)
	{
		#line hidden
		#line 1
		Sybase.PowerBuilder.WPF.PBSystemFunctions.Open(ref PBGlobalDefinitions_wpfapp.GetInstance().w_home);
		#line hidden
	}
	static void Main()
	{
		c__wpfapp.ApplicationName = "wpfapp";
		Sybase.PowerBuilder.PBSessionBase.HasPBExtensions = false;
		Sybase.PowerBuilder.PBSessionBase.MainAssembly = System.Reflection.Assembly.GetExecutingAssembly();
		Sybase.PowerBuilder.WPF.PBSession.AssemblyList = @"wpfapp.resource.dll";
		Sybase.PowerBuilder.WPF.PBSession session = Sybase.PowerBuilder.WPF.PBSession.CreateSession(
			typeof(c__wpfapp), 
			@"wpfapp.pblx");
		c__wpfapp.GetCurrentApplication().wpfapp = c__wpfapp.GetCurrentApplication();
		InitAssemblyInfo();
		PBGlobalDefinitions_wpfapp.InitUninitVariables();
		session.RunWPFApp();
	}