Exemplo n.º 1
0
	void _init()
	{
		Width = new Sybase.PowerBuilder.PBInt(1386);
		#line hidden
		Height = new Sybase.PowerBuilder.PBInt(1168);
		#line hidden
		TextSize = new Sybase.PowerBuilder.PBInt(-10);
		#line hidden
		Weight = new Sybase.PowerBuilder.PBInt(400);
		#line hidden
		FontCharSet = (new Sybase.PowerBuilder.PBFontCharSetValue(Sybase.PowerBuilder.PBFontCharSet.Ansi));
		#line hidden
		FontPitch = (new Sybase.PowerBuilder.PBFontPitchValue(Sybase.PowerBuilder.PBFontPitch.Variable));
		#line hidden
		FontFamily = (new Sybase.PowerBuilder.PBFontFamilyValue(Sybase.PowerBuilder.PBFontFamily.Swiss));
		#line hidden
		FaceName = new Sybase.PowerBuilder.PBString("Trebuchet MS");
		#line hidden
		BackColor = new Sybase.PowerBuilder.PBLong(15793151);
		#line hidden
		Text = new Sybase.PowerBuilder.PBString("Some sample text");
		#line hidden
		BorderStyle = (new Sybase.PowerBuilder.PBBorderStyleValue(Sybase.PowerBuilder.PBBorderStyle.StyleLowered));
		#line hidden
		this.ID = "u_mle";
		this.CreateEvent -= new Sybase.PowerBuilder.PBEventHandler(this.create);
		this.DestroyEvent -= new Sybase.PowerBuilder.PBEventHandler(this.destroy);

		OnInitialUpdate();
	}
Exemplo n.º 2
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(40);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(22);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(750);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(128);
			#line hidden
			TabOrder = new Sybase.PowerBuilder.PBInt(20);
			#line hidden
			TextSize = new Sybase.PowerBuilder.PBInt(-10);
			#line hidden
			Weight = new Sybase.PowerBuilder.PBInt(400);
			#line hidden
			FontCharSet = (new Sybase.PowerBuilder.PBFontCharSetValue(Sybase.PowerBuilder.PBFontCharSet.Ansi));
			#line hidden
			FontPitch = (new Sybase.PowerBuilder.PBFontPitchValue(Sybase.PowerBuilder.PBFontPitch.Variable));
			#line hidden
			FontFamily = (new Sybase.PowerBuilder.PBFontFamilyValue(Sybase.PowerBuilder.PBFontFamily.Swiss));
			#line hidden
			FaceName = new Sybase.PowerBuilder.PBString("Trebuchet MS");
			#line hidden
			BackColor = new Sybase.PowerBuilder.PBLong(15793151);
			#line hidden
			BorderStyle = (new Sybase.PowerBuilder.PBBorderStyleValue(Sybase.PowerBuilder.PBBorderStyle.StyleLowered));
			#line hidden

			OnInitialUpdate();
		}
Exemplo n.º 3
0
	public virtual void of_reset_button_colors()
	{
		#line hidden
		Sybase.PowerBuilder.PBInt j = Sybase.PowerBuilder.PBInt.DefaultValue;
		Sybase.PowerBuilder.PBInt i = Sybase.PowerBuilder.PBInt.DefaultValue;
		Sybase.PowerBuilder.WPF.PBStaticText l_label = null;
		#line 3
		i = (Sybase.PowerBuilder.PBInt)(Sybase.PowerBuilder.WPF.PBSystemFunctions.UpperBound((Sybase.PowerBuilder.PBAny)(this.Control)));
		#line hidden
		#line 5
		for (j = new Sybase.PowerBuilder.PBInt(1);j <= i;j = j + 1)
		#line hidden
		{
				#line 6
				if ((Sybase.PowerBuilder.PBBoolean)(Sybase.PowerBuilder.WPF.PBWindowObject.TypeOf(((Sybase.PowerBuilder.WPF.PBWindowObject)Control[Control.Extend((Sybase.PowerBuilder.PBLong)(j))])) == (new Sybase.PowerBuilder.PBObjectValue(Sybase.PowerBuilder.PBObject.StaticText))))
				#line hidden
				{
					#line 7
					l_label = (Sybase.PowerBuilder.WPF.PBStaticText)(((Sybase.PowerBuilder.WPF.PBWindowObject)(Sybase.PowerBuilder.PBSystemFunctions.PBCheckNull(((Sybase.PowerBuilder.WPF.PBWindowObject)Control[(Sybase.PowerBuilder.PBLong)(j)])))));
					#line hidden
					#line 8
					l_label.BackColor = new Sybase.PowerBuilder.PBLong(20790589);
					#line hidden
					#line 9
					l_label.TextColor = new Sybase.PowerBuilder.PBLong(30578299);
					#line hidden
				}
		}
	}
Exemplo n.º 4
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(1715);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(1238);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(625);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(93);
			#line hidden
			BringToTop = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			TextSize = new Sybase.PowerBuilder.PBInt(-12);
			#line hidden
			Weight = new Sybase.PowerBuilder.PBInt(400);
			#line hidden
			FontCharSet = (new Sybase.PowerBuilder.PBFontCharSetValue(Sybase.PowerBuilder.PBFontCharSet.Ansi));
			#line hidden
			FontPitch = (new Sybase.PowerBuilder.PBFontPitchValue(Sybase.PowerBuilder.PBFontPitch.Variable));
			#line hidden
			FontFamily = (new Sybase.PowerBuilder.PBFontFamilyValue(Sybase.PowerBuilder.PBFontFamily.Swiss));
			#line hidden
			FaceName = new Sybase.PowerBuilder.PBString("Trebuchet MS");
			#line hidden
			TextColor = new Sybase.PowerBuilder.PBLong(33554432);
			#line hidden
			BackColor = new Sybase.PowerBuilder.PBLong(16777215);
			#line hidden
			Text = new Sybase.PowerBuilder.PBString("Number of Shares:");
			#line hidden
			Alignment = (new Sybase.PowerBuilder.PBAlignmentValue(Sybase.PowerBuilder.PBAlignment.Right));
			#line hidden
			FocusRectangle = new Sybase.PowerBuilder.PBBoolean(false);
			#line hidden
			this.ID = "st_1";

			OnInitialUpdate();
		}
Exemplo n.º 5
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(2373);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(1219);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(424);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(118);
			#line hidden
			TabOrder = new Sybase.PowerBuilder.PBInt(10);
			#line hidden
			BringToTop = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			TextSize = new Sybase.PowerBuilder.PBInt(-12);
			#line hidden
			Weight = new Sybase.PowerBuilder.PBInt(400);
			#line hidden
			FontCharSet = (new Sybase.PowerBuilder.PBFontCharSetValue(Sybase.PowerBuilder.PBFontCharSet.Ansi));
			#line hidden
			FontPitch = (new Sybase.PowerBuilder.PBFontPitchValue(Sybase.PowerBuilder.PBFontPitch.Variable));
			#line hidden
			FontFamily = (new Sybase.PowerBuilder.PBFontFamilyValue(Sybase.PowerBuilder.PBFontFamily.Swiss));
			#line hidden
			FaceName = new Sybase.PowerBuilder.PBString("Trebuchet MS");
			#line hidden
			TextColor = new Sybase.PowerBuilder.PBLong(33554432);
			#line hidden
			BorderStyle = (new Sybase.PowerBuilder.PBBorderStyleValue(Sybase.PowerBuilder.PBBorderStyle.StyleLowered));
			#line hidden
			this.ID = "sle_amount";

			OnInitialUpdate();
		}
Exemplo n.º 6
0
		void _init()
		{
			Width = new Sybase.PowerBuilder.PBInt(907);
			#line hidden
			Text = new Sybase.PowerBuilder.PBString("Trade Stocks");
			#line hidden
			this.ID = "st_label";

			OnInitialUpdate();
		}
Exemplo n.º 7
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(450);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(730);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(1905);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(1245);
			#line hidden
			TabOrder = new Sybase.PowerBuilder.PBInt(20);
			#line hidden
			BringToTop = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			DataObject = new Sybase.PowerBuilder.PBString("d_account");
			#line hidden
			Border = new Sybase.PowerBuilder.PBBoolean(false);
			#line hidden
			BorderStyle = (new Sybase.PowerBuilder.PBBorderStyleValue(Sybase.PowerBuilder.PBBorderStyle.StyleBox));
			#line hidden

			OnInitialUpdate();
		}
Exemplo n.º 8
0
	void _init()
	{
		Width = new Sybase.PowerBuilder.PBInt(3006);
		#line hidden
		Height = new Sybase.PowerBuilder.PBInt(1446);
		#line hidden
		TitleBar = new Sybase.PowerBuilder.PBBoolean(true);
		#line hidden
		Title = new Sybase.PowerBuilder.PBString("Order Alert");
		#line hidden
		ControlMenu = new Sybase.PowerBuilder.PBBoolean(true);
		#line hidden
		MinBox = new Sybase.PowerBuilder.PBBoolean(true);
		#line hidden
		MaxBox = new Sybase.PowerBuilder.PBBoolean(true);
		#line hidden
		Resizable = new Sybase.PowerBuilder.PBBoolean(true);
		#line hidden
		BackColor = new Sybase.PowerBuilder.PBLong(20790589);
		#line hidden
		Icon = new Sybase.PowerBuilder.PBString("AppIcon!");
		#line hidden
		Center = new Sybase.PowerBuilder.PBBoolean(true);
		#line hidden
		this.CreateEvent += new Sybase.PowerBuilder.PBEventHandler(this.create);
		this.DestroyEvent += new Sybase.PowerBuilder.PBEventHandler(this.destroy);
		this.OpenEvent += new Sybase.PowerBuilder.PBM_EventHandler(this.open);
	}
Exemplo n.º 9
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(1408);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(1146);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(355);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(144);
			#line hidden
			TabOrder = new Sybase.PowerBuilder.PBInt(10);
			#line hidden
			TextSize = new Sybase.PowerBuilder.PBInt(-12);
			#line hidden
			Weight = new Sybase.PowerBuilder.PBInt(700);
			#line hidden
			FontCharSet = (new Sybase.PowerBuilder.PBFontCharSetValue(Sybase.PowerBuilder.PBFontCharSet.Ansi));
			#line hidden
			FontPitch = (new Sybase.PowerBuilder.PBFontPitchValue(Sybase.PowerBuilder.PBFontPitch.Variable));
			#line hidden
			FontFamily = (new Sybase.PowerBuilder.PBFontFamilyValue(Sybase.PowerBuilder.PBFontFamily.Swiss));
			#line hidden
			FaceName = new Sybase.PowerBuilder.PBString("Trebuchet MS");
			#line hidden
			Text = new Sybase.PowerBuilder.PBString("OK");
			#line hidden
			OriginalSize = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			VTextAlign = (new Sybase.PowerBuilder.PBVTextAlignValue(Sybase.PowerBuilder.PBVTextAlign.VCenter));
			#line hidden
			TextColor = new Sybase.PowerBuilder.PBLong(30578299);
			#line hidden
			BackColor = new Sybase.PowerBuilder.PBLong(27021878);
			#line hidden
			this.ClickedEvent += new Sybase.PowerBuilder.PBM_EventHandler(this.clicked);

			OnInitialUpdate();
		}
Exemplo n.º 10
0
	void _init()
	{
		Width = new Sybase.PowerBuilder.PBInt(4579);
		#line hidden
		Height = new Sybase.PowerBuilder.PBInt(2755);
		#line hidden
		TitleBar = new Sybase.PowerBuilder.PBBoolean(true);
		#line hidden
		Title = new Sybase.PowerBuilder.PBString(".NET Stock Trader Client");
		#line hidden
		ControlMenu = new Sybase.PowerBuilder.PBBoolean(true);
		#line hidden
		MinBox = new Sybase.PowerBuilder.PBBoolean(true);
		#line hidden
		MaxBox = new Sybase.PowerBuilder.PBBoolean(true);
		#line hidden
		BackColor = new Sybase.PowerBuilder.PBLong(20790589);
		#line hidden
		Icon = new Sybase.PowerBuilder.PBString("AppIcon!");
		#line hidden
		this.CreateEvent += new Sybase.PowerBuilder.PBEventHandler(this.create);
		this.DestroyEvent += new Sybase.PowerBuilder.PBEventHandler(this.destroy);
		this.OpenEvent += new Sybase.PowerBuilder.PBM_EventHandler(this.open);
	}
Exemplo n.º 11
0
		void _init()
		{
			Width = new Sybase.PowerBuilder.PBInt(4579);
			#line hidden
			TabOrder = new Sybase.PowerBuilder.PBInt(10);
			#line hidden
			this.ID = "uo_header";
			this.DestroyEvent += new Sybase.PowerBuilder.PBEventHandler(this.destroy);

			OnInitialUpdate();
		}
Exemplo n.º 12
0
	public override Sybase.PowerBuilder.PBLong open()
	{
		#line hidden
		Sybase.PowerBuilder.PBInt i = Sybase.PowerBuilder.PBInt.DefaultValue;
		Sybase.PowerBuilder.PBLong ancestorreturnvalue = Sybase.PowerBuilder.PBLong.DefaultValue;
		#line 5
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1)), new Sybase.PowerBuilder.PBString("u_welcome"), i_uo_x, i_uo_y);
		#line hidden
		#line 6
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(2)), new Sybase.PowerBuilder.PBString("u_home"), i_uo_x, i_uo_y);
		#line hidden
		#line 7
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(3)), new Sybase.PowerBuilder.PBString("u_account"), i_uo_x, i_uo_y);
		#line hidden
		#line 8
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(4)), new Sybase.PowerBuilder.PBString("u_portfolio"), i_uo_x, i_uo_y);
		#line hidden
		#line 9
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(5)), new Sybase.PowerBuilder.PBString("u_orders"), i_uo_x, i_uo_y);
		#line hidden
		#line 10
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(6)), new Sybase.PowerBuilder.PBString("u_quotes"), i_uo_x, i_uo_y);
		#line hidden
		#line 11
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(7)), new Sybase.PowerBuilder.PBString("u_config"), i_uo_x, i_uo_y);
		#line hidden
		#line 12
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(8)), new Sybase.PowerBuilder.PBString("u_login"), i_uo_x, i_uo_y);
		#line hidden
		#line 13
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(9)), new Sybase.PowerBuilder.PBString("u_logout"), i_uo_x, i_uo_y);
		#line hidden
		#line 14
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(10)), new Sybase.PowerBuilder.PBString("u_register"), i_uo_x, i_uo_y);
		#line hidden
		#line 15
		OpenUserObject_4_system_u002e_grp_wi722893822(this, iu_pages, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(11)), new Sybase.PowerBuilder.PBString("u_buy_sell"), i_uo_x, i_uo_y);
		#line hidden
		#line 18
		for (i = new Sybase.PowerBuilder.PBInt(2);i <= numpages;i = i + 1)
		#line hidden
		{
				#line 19
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(i)]).Visible = new Sybase.PowerBuilder.PBBoolean(false);
				#line hidden
		}
		return new Sybase.PowerBuilder.PBLong(0);
	}
Exemplo n.º 13
0
	public virtual c__u_basepage ue_show_buy_sell()
	{
		#line hidden
		Sybase.PowerBuilder.PBInt i = Sybase.PowerBuilder.PBInt.DefaultValue;
		#line 9
		if (!(this.of_is_current_page(buy_sell)))
		#line hidden
		{
			#line 10
			for (i = new Sybase.PowerBuilder.PBInt(1);i <= numpages;i = i + 1)
			#line hidden
			{
					#line 11
					((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(i)]).Visible = new Sybase.PowerBuilder.PBBoolean(false);
					#line hidden
			}
			#line 13
			((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(buy_sell)]).Visible = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			#line 14
			return ((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(buy_sell)]);
			#line hidden
		}
		return  null;	}
Exemplo n.º 14
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(230);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(1773);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(735);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(83);
			#line hidden
			BringToTop = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			TextSize = new Sybase.PowerBuilder.PBInt(-10);
			#line hidden
			Weight = new Sybase.PowerBuilder.PBInt(400);
			#line hidden
			FontCharSet = (new Sybase.PowerBuilder.PBFontCharSetValue(Sybase.PowerBuilder.PBFontCharSet.Ansi));
			#line hidden
			FontPitch = (new Sybase.PowerBuilder.PBFontPitchValue(Sybase.PowerBuilder.PBFontPitch.Variable));
			#line hidden
			FontFamily = (new Sybase.PowerBuilder.PBFontFamilyValue(Sybase.PowerBuilder.PBFontFamily.Swiss));
			#line hidden
			FaceName = new Sybase.PowerBuilder.PBString("Trebuchet MS");
			#line hidden
			TextColor = new Sybase.PowerBuilder.PBLong(33554432);
			#line hidden
			BackColor = new Sybase.PowerBuilder.PBLong(16777215);
			#line hidden
			Text = new Sybase.PowerBuilder.PBString("Address for Remote Host:");
			#line hidden
			FocusRectangle = new Sybase.PowerBuilder.PBBoolean(false);
			#line hidden

			OnInitialUpdate();
		}
Exemplo n.º 15
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(80);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(86);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(428);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(218);
			#line hidden
			OriginalSize = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			PictureName = new Sybase.PowerBuilder.PBString("Images\\App_Logo.JPG");
			#line hidden
			FocusRectangle = new Sybase.PowerBuilder.PBBoolean(false);
			#line hidden

			OnInitialUpdate();
		}
Exemplo n.º 16
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(110);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(291);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(2750);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(781);
			#line hidden
			TabOrder = new Sybase.PowerBuilder.PBInt(10);
			#line hidden
			DataObject = new Sybase.PowerBuilder.PBString("d_order_display");
			#line hidden

			OnInitialUpdate();
		}
Exemplo n.º 17
0
	public virtual void ue_set_page(Sybase.PowerBuilder.PBString as_tag)
	{
		#line hidden
		Sybase.PowerBuilder.PBInt l_index = Sybase.PowerBuilder.PBInt.DefaultValue;
		Sybase.PowerBuilder.PBInt i = Sybase.PowerBuilder.PBInt.DefaultValue;
		#line 5
		l_index = Sybase.PowerBuilder.Web.PBSystemFunctions.Integer((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(Sybase.PowerBuilder.Web.PBSystemFunctions.Left(as_tag, (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1)))))));
		#line hidden
		#line 7
		for (i = new Sybase.PowerBuilder.PBInt(1);i <= numpages;i = i + 1)
		#line hidden
		{
				#line 8
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(i)]).Visible = new Sybase.PowerBuilder.PBBoolean(false);
				#line hidden
		}
		#line 10
		if ((Sybase.PowerBuilder.PBBoolean)(c__stocktrader.GetCurrentApplication().gn_controller.of_isconnected() == new Sybase.PowerBuilder.PBBoolean(false)))
		#line hidden
		{
			#line 11
			if ((Sybase.PowerBuilder.PBBoolean)((l_index == welcome)| (l_index == config)))
			#line hidden
			{
				#line 12
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(l_index)]).Visible = new Sybase.PowerBuilder.PBBoolean(true);
				#line hidden
				#line 13
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(l_index)]).ue_setstate();
				#line hidden
				#line 14
				return;
				#line hidden
			}
			else
			{
				#line 16
				return;
				#line hidden
			}
		}
		#line 20
		Sybase.PowerBuilder.PBInt __PB_TEMP______switchTmpVar0 = l_index;
		#line hidden
		#line 21
		if ((__PB_TEMP______switchTmpVar0 == config )|| (__PB_TEMP______switchTmpVar0 == welcome ))
		#line hidden
		{
			#line 22
			((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(l_index)]).Visible = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
		}
		#line 23
		else if (__PB_TEMP______switchTmpVar0 == login )
		#line hidden
		{
			#line 24
			if ((Sybase.PowerBuilder.PBBoolean)(c__stocktrader.GetCurrentApplication().gn_controller.of_is_loggedin() == new Sybase.PowerBuilder.PBBoolean(true)))
			#line hidden
			{
				#line 25
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(login)]).Visible = new Sybase.PowerBuilder.PBBoolean(false);
				#line hidden
				#line 26
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(logout)]).Visible = new Sybase.PowerBuilder.PBBoolean(true);
				#line hidden
				#line 27
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(logout)]).ue_setstate();
				#line hidden
			}
			else
			{
				#line 29
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(logout)]).Visible = new Sybase.PowerBuilder.PBBoolean(false);
				#line hidden
				#line 30
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(login)]).Visible = new Sybase.PowerBuilder.PBBoolean(true);
				#line hidden
				#line 31
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(login)]).ue_setstate();
				#line hidden
			}
		}
		else 
		{
			#line 34
			if ((Sybase.PowerBuilder.PBBoolean)(c__stocktrader.GetCurrentApplication().gn_controller.of_is_loggedin() == new Sybase.PowerBuilder.PBBoolean(true)))
			#line hidden
			{
				#line 35
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(l_index)]).Visible = new Sybase.PowerBuilder.PBBoolean(true);
				#line hidden
				#line 36
				((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(l_index)]).ue_setstate();
				#line hidden
			}
		}

	}
Exemplo n.º 18
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(117);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(51);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(1232);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(128);
			#line hidden
			TextSize = new Sybase.PowerBuilder.PBInt(-18);
			#line hidden
			Weight = new Sybase.PowerBuilder.PBInt(700);
			#line hidden
			FontCharSet = (new Sybase.PowerBuilder.PBFontCharSetValue(Sybase.PowerBuilder.PBFontCharSet.Ansi));
			#line hidden
			FontPitch = (new Sybase.PowerBuilder.PBFontPitchValue(Sybase.PowerBuilder.PBFontPitch.Variable));
			#line hidden
			FontFamily = (new Sybase.PowerBuilder.PBFontFamilyValue(Sybase.PowerBuilder.PBFontFamily.Swiss));
			#line hidden
			FaceName = new Sybase.PowerBuilder.PBString("Trebuchet MS");
			#line hidden
			TextColor = new Sybase.PowerBuilder.PBLong(16777215);
			#line hidden
			BackColor = new Sybase.PowerBuilder.PBLong(20790589);
			#line hidden
			Text = new Sybase.PowerBuilder.PBString("Order Alert");
			#line hidden
			FocusRectangle = new Sybase.PowerBuilder.PBBoolean(false);
			#line hidden

			OnInitialUpdate();
		}
Exemplo n.º 19
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(2158);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(330);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(2348);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(1942);
			#line hidden
			TabOrder = new Sybase.PowerBuilder.PBInt(10);
			#line hidden
			BringToTop = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			this.DestroyEvent += new Sybase.PowerBuilder.PBEventHandler(this.destroy);

			OnInitialUpdate();
		}
Exemplo n.º 20
0
	void _init()
	{
		Width = new Sybase.PowerBuilder.PBInt(1276);
		#line hidden
		Height = new Sybase.PowerBuilder.PBInt(186);
		#line hidden
		BackColor = new Sybase.PowerBuilder.PBLong(20790589);
		#line hidden
		Text = new Sybase.PowerBuilder.PBString("none");
		#line hidden
		TabTextColor = new Sybase.PowerBuilder.PBLong(33554432);
		#line hidden
		PictureMaskColor = new Sybase.PowerBuilder.PBLong(536870912);
		#line hidden
		this.CreateEvent += new Sybase.PowerBuilder.PBEventHandler(this.create);
		this.DestroyEvent += new Sybase.PowerBuilder.PBEventHandler(this.destroy);

		OnInitialUpdate();
	}
Exemplo n.º 21
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(110);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(330);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(1938);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(1949);
			#line hidden
			TabOrder = new Sybase.PowerBuilder.PBInt(20);
			#line hidden
			BringToTop = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			DataObject = new Sybase.PowerBuilder.PBString("d_user_statistics");
			#line hidden

			OnInitialUpdate();
		}
Exemplo n.º 22
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(2421);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(749);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(1989);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(966);
			#line hidden
			TabOrder = new Sybase.PowerBuilder.PBInt(10);
			#line hidden
			BringToTop = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			DataObject = new Sybase.PowerBuilder.PBString("d_profiledisplay");
			#line hidden
			Border = new Sybase.PowerBuilder.PBBoolean(false);
			#line hidden
			BorderStyle = (new Sybase.PowerBuilder.PBBorderStyleValue(Sybase.PowerBuilder.PBBorderStyle.StyleBox));
			#line hidden

			OnInitialUpdate();
		}
Exemplo n.º 23
0
	public virtual void isonline()
	{
		Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[0];
		System.Type[] __PBNIInteralArgTypes = new System.Type[0];
		bool[] __PBNIInteralArgsByRef = new bool[0];
		Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBInt();
		_proxy.Invoke("<method name='isOnline' ns='WebService' pbname='isOnline'></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBInt));

	}
Exemplo n.º 24
0
	private void of_update()
	{
		#line hidden
		Sybase.PowerBuilder.PBString l_missing = Sybase.PowerBuilder.PBString.DefaultValue;
		Sybase.PowerBuilder.PBString l_str = Sybase.PowerBuilder.PBString.DefaultValue;
		Sybase.PowerBuilder.PBLong lrow = (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1));
		Sybase.PowerBuilder.PBInt lcol = new Sybase.PowerBuilder.PBInt(1);
		Sybase.PowerBuilder.PBException e = null;
		#line 5
		this.of_showmessage(new Sybase.PowerBuilder.PBBoolean(false), new Sybase.PowerBuilder.PBString(""));
		#line hidden
		#line 6
		dw_profile.AcceptText();
		#line hidden
		#line 7
		if ((Sybase.PowerBuilder.PBBoolean)(this.of_validate_password() == new Sybase.PowerBuilder.PBBoolean(false)))
		#line hidden
		{
			#line 8
			this.of_showmessage(new Sybase.PowerBuilder.PBBoolean(true), missing_password);
			#line hidden
			#line 9
			dw_profile.SetItem((Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1)), new Sybase.PowerBuilder.PBString("password_confirm"), new Sybase.PowerBuilder.PBString(""));
			#line hidden
			#line 10
			return;
			#line hidden
		}
		#line 13
		((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)(dw_profile.Object))[new Sybase.PowerBuilder.PBString(@"fullname"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"edit"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"required")] = (Sybase.PowerBuilder.PBAny)(new Sybase.PowerBuilder.PBString("Yes"));
		#line hidden
		#line 14
		((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)(dw_profile.Object))[new Sybase.PowerBuilder.PBString(@"address"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"edit"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"required")] = (Sybase.PowerBuilder.PBAny)(new Sybase.PowerBuilder.PBString("Yes"));
		#line hidden
		#line 15
		((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)(dw_profile.Object))[new Sybase.PowerBuilder.PBString(@"email"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"edit"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"required")] = (Sybase.PowerBuilder.PBAny)(new Sybase.PowerBuilder.PBString("Yes"));
		#line hidden
		#line 16
		((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)(dw_profile.Object))[new Sybase.PowerBuilder.PBString(@"creditcard"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"edit"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"required")] = (Sybase.PowerBuilder.PBAny)(new Sybase.PowerBuilder.PBString("Yes"));
		#line hidden
		#line 20
		dw_profile.FindRequired((new Sybase.PowerBuilder.PBDWBufferValue(Sybase.PowerBuilder.PBDWBuffer.Primary)), ref lrow, ref lcol, ref l_missing, new Sybase.PowerBuilder.PBBoolean(false)
			);
		#line hidden
		#line 21
		if ((Sybase.PowerBuilder.PBBoolean)(lrow != (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(0))))
		#line hidden
		{
			#line 22
			l_str += l_missing+ new Sybase.PowerBuilder.PBString(".ValidationMsg");
			#line hidden
			#line 23
			this.of_showmessage(new Sybase.PowerBuilder.PBBoolean(true), new Sybase.PowerBuilder.PBString("Data Entry Error: ")+ dw_profile.Describe(l_str));
			#line hidden
			#line 24
			dw_profile.SetColumn(lcol);
			#line hidden
		}
		else
		{
			try
			{
				try
				{
					#line 29
					c__stocktrader.GetCurrentApplication().gn_controller.of_update_profile(dw_profile.GetItemString((Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1)), new Sybase.PowerBuilder.PBString("address")), dw_profile.GetItemString((Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1)), new Sybase.PowerBuilder.PBString("creditcard")), dw_profile.GetItemString((Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1)), new Sybase.PowerBuilder.PBString("email")), dw_profile.GetItemString((Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1)), new Sybase.PowerBuilder.PBString("fullname")), dw_profile.GetItemString((Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1)), new Sybase.PowerBuilder.PBString("password")), 
						c__stocktrader.GetCurrentApplication().gn_controller.of_get_profile_id());
					#line hidden
					#line 32
					this.of_showmessage(new Sybase.PowerBuilder.PBBoolean(true), new Sybase.PowerBuilder.PBString("Changes Saved"));
					#line hidden
					#line 33
					dw_profile.SetColumn(new Sybase.PowerBuilder.PBInt(1));
					#line hidden
				}
				catch (System.DivideByZeroException)
				{
					Sybase.PowerBuilder.PBRuntimeError.Throw(Sybase.PowerBuilder.RuntimeErrorCode.RT_R0001);
					throw new System.Exception();
				}
				catch (System.NullReferenceException)
				{
					Sybase.PowerBuilder.PBRuntimeError.Throw(Sybase.PowerBuilder.RuntimeErrorCode.RT_R0002);
					throw new System.Exception();
				}
				catch (System.IndexOutOfRangeException)
				{
					Sybase.PowerBuilder.PBRuntimeError.Throw(Sybase.PowerBuilder.RuntimeErrorCode.RT_R0003);
					throw new System.Exception();
				}
			}
			#line 34
			catch (Sybase.PowerBuilder.PBExceptionE __PB_TEMP_e__temp)
			#line hidden
			{
				e = __PB_TEMP_e__temp.E;
				#line 35
				this.of_showmessage(new Sybase.PowerBuilder.PBBoolean(true), new Sybase.PowerBuilder.PBString("Service Error: ")+ e.GetMessage());
				#line hidden
			}
		}
		#line 39
		((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)(dw_profile.Object))[new Sybase.PowerBuilder.PBString(@"fullname"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"edit"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"required")] = (Sybase.PowerBuilder.PBAny)(new Sybase.PowerBuilder.PBString("No"));
		#line hidden
		#line 40
		((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)(dw_profile.Object))[new Sybase.PowerBuilder.PBString(@"address"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"edit"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"required")] = (Sybase.PowerBuilder.PBAny)(new Sybase.PowerBuilder.PBString("No"));
		#line hidden
		#line 41
		((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)(dw_profile.Object))[new Sybase.PowerBuilder.PBString(@"email"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"edit"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"required")] = (Sybase.PowerBuilder.PBAny)(new Sybase.PowerBuilder.PBString("No"));
		#line hidden
		#line 42
		((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)((((Sybase.PowerBuilder.PBExtObject)(dw_profile.Object))[new Sybase.PowerBuilder.PBString(@"creditcard"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"edit"), Sybase.PowerBuilder.PBBoolean.False].Value)))[new Sybase.PowerBuilder.PBString(@"required")] = (Sybase.PowerBuilder.PBAny)(new Sybase.PowerBuilder.PBString("No"));
		#line hidden
		#line 43
		dw_profile.SetFocus();
		#line hidden
	}
Exemplo n.º 25
0
	public virtual void cancelasync(Sybase.PowerBuilder.PBAny userstate)
	{
		Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
		System.Type[] __PBNIInteralArgTypes = new System.Type[1];
		bool[] __PBNIInteralArgsByRef = new bool[1];
		__PBNIInteralArgs[0] = userstate;
		if ((object)userstate == null)
			__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBAny);
		else
			__PBNIInteralArgTypes[0] = userstate.GetType();
		__PBNIInteralArgsByRef[0] = false;
		Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBInt();
		_proxy.Invoke("<method name='CancelAsync' ns='WebService' pbname='CancelAsync'><param name='userState' type='System.Object' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBInt));

	}
Exemplo n.º 26
0
		void _init()
		{
			LineColor = new Sybase.PowerBuilder.PBLong(33554432);
			#line hidden
			LineThickness = new Sybase.PowerBuilder.PBInt(3);
			#line hidden
			FillColor = new Sybase.PowerBuilder.PBLong(30578299);
			#line hidden
			X = new Sybase.PowerBuilder.PBInt(154);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(736);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(4341);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(954);
			#line hidden

			OnInitialUpdate();
		}
Exemplo n.º 27
0
	public virtual void logout(Sybase.PowerBuilder.PBString userid)
	{
		Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
		System.Type[] __PBNIInteralArgTypes = new System.Type[1];
		bool[] __PBNIInteralArgsByRef = new bool[1];
		__PBNIInteralArgs[0] = userid;
		if ((object)userid == null)
			__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
		else
			__PBNIInteralArgTypes[0] = userid.GetType();
		__PBNIInteralArgsByRef[0] = false;
		Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBInt();
		_proxy.Invoke("<method name='logout' ns='WebService' pbname='logout'><param name='userID' type='System.String' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBInt));

	}
Exemplo n.º 28
0
		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(2187);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(1437);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(380);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(134);
			#line hidden
			TabOrder = new Sybase.PowerBuilder.PBInt(40);
			#line hidden
			BringToTop = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			TextSize = new Sybase.PowerBuilder.PBInt(-10);
			#line hidden
			Weight = new Sybase.PowerBuilder.PBInt(400);
			#line hidden
			FontCharSet = (new Sybase.PowerBuilder.PBFontCharSetValue(Sybase.PowerBuilder.PBFontCharSet.Ansi));
			#line hidden
			FontPitch = (new Sybase.PowerBuilder.PBFontPitchValue(Sybase.PowerBuilder.PBFontPitch.Variable));
			#line hidden
			FontFamily = (new Sybase.PowerBuilder.PBFontFamilyValue(Sybase.PowerBuilder.PBFontFamily.Swiss));
			#line hidden
			FaceName = new Sybase.PowerBuilder.PBString("Trebuchet MS");
			#line hidden
			Default = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			VTextAlign = (new Sybase.PowerBuilder.PBVTextAlignValue(Sybase.PowerBuilder.PBVTextAlign.VCenter));
			#line hidden
			Map3DColors = new Sybase.PowerBuilder.PBBoolean(true);
			#line hidden
			PowerTipText = new Sybase.PowerBuilder.PBString("Login to Server");
			#line hidden
			TextColor = new Sybase.PowerBuilder.PBLong(30578299);
			#line hidden
			BackColor = new Sybase.PowerBuilder.PBLong(23213090);
			#line hidden
			this.ID = "pb_buy_sell";
			this.ClickedEvent += new Sybase.PowerBuilder.PBM_EventHandler(this.clicked);

			OnInitialUpdate();
		}
Exemplo n.º 29
0
	public virtual void pbaddcookie(Sybase.PowerBuilder.PBAny cookie)
	{
		Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
		System.Type[] __PBNIInteralArgTypes = new System.Type[1];
		bool[] __PBNIInteralArgsByRef = new bool[1];
		__PBNIInteralArgs[0] = cookie;
		if ((object)cookie == null)
			__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBAny);
		else
			__PBNIInteralArgTypes[0] = cookie.GetType();
		__PBNIInteralArgsByRef[0] = false;
		Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBInt();
		_proxy.Invoke("<method name='PBAddCookie' ns='System.Runtime.Remoting.Messaging'  IsCookieFunction='True' pbname='PBAddCookie'><return name='returnvalue' type='System.Void' isRef='false' ArrayDim='0' IsNullableType='false' /><param name='cookie' type='any' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBInt));

	}
Exemplo n.º 30
0
		void _init()
		{
			LineColor = new Sybase.PowerBuilder.PBLong(33554432);
			#line hidden
			LineThickness = new Sybase.PowerBuilder.PBInt(3);
			#line hidden
			FillColor = new Sybase.PowerBuilder.PBLong(1073741824);
			#line hidden
			X = new Sybase.PowerBuilder.PBInt(190);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(762);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(4268);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(890);
			#line hidden

			OnInitialUpdate();
		}
		public override Sybase.PowerBuilder.PBLong clicked()
		{
			#line hidden
			google_rest_client_directions.root l_root = null;
			Sybase.PowerBuilder.PBArray legs = new Sybase.PowerBuilder.PBUnboundedArray(typeof(google_rest_client_directions.rootItemItem));
			Sybase.PowerBuilder.PBArray steps = new Sybase.PowerBuilder.PBUnboundedArray(typeof(google_rest_client_directions.rootItemItemItem));
			Sybase.PowerBuilder.PBInt i = Sybase.PowerBuilder.PBInt.DefaultValue;
			Sybase.PowerBuilder.PBString rutas = Sybase.PowerBuilder.PBString.DefaultValue;
			directionstutoservice.c__directionstutoproxy l_proxy = null;
			System.Exception e = null;
			Sybase.PowerBuilder.PBLong ancestorreturnvalue = Sybase.PowerBuilder.PBLong.DefaultValue;
			#line 9
			l_proxy = (directionstutoservice.c__directionstutoproxy)this.CreateInstance(typeof(directionstutoservice.c__directionstutoproxy), 0);
			#line hidden
			try
			{
				try
				{
					#line 12
					l_root = l_proxy.getmessage();
					#line hidden
					#line 14
					legs.AssignFrom((Sybase.PowerBuilder.PBArray)(l_root.routes[(Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1))-1]).legs);
					#line hidden
					#line 15
					steps.AssignFrom((Sybase.PowerBuilder.PBArray)((google_rest_client_directions.rootItemItem)legs[(Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1))]).steps);
					#line hidden
					#line 18
					if ((Sybase.PowerBuilder.PBBoolean)(steps.Length> (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(0))))
					#line hidden
					{
						#line 19
						rutas = (new Sybase.PowerBuilder.PBString("Distancia: ")+ ((google_rest_client_directions.rootItemItem)legs[(Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1))]).distance.text)+ new Sybase.PowerBuilder.PBString("\n");
						#line hidden
						#line 20
						rutas += (new Sybase.PowerBuilder.PBString("Tiempo estimado: ")+ ((google_rest_client_directions.rootItemItem)legs[(Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1))]).duration.text)+ new Sybase.PowerBuilder.PBString("\n");
						#line hidden
						#line 22
						for (i = new Sybase.PowerBuilder.PBInt(1);i <= ((Sybase.PowerBuilder.PBInt)(steps.Length));i = i + 1)
						#line hidden
						{
								#line 23
								rutas += ((Sybase.PowerBuilder.WPF.PBSystemFunctions.String((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(i))))+ new Sybase.PowerBuilder.PBString(".- "))+ ((google_rest_client_directions.rootItemItemItem)steps[(Sybase.PowerBuilder.PBLong)(i)]).html_instructions)+ new Sybase.PowerBuilder.PBString("\n");
								#line hidden
						}
					}
					else
					{
						#line 27
						rutas = new Sybase.PowerBuilder.PBString("No se ha obtenido ninguna ruta");
						#line hidden
					}
					#line 31
					((c__w_restclient)(Parent)).mle_rutas.Text = rutas;
					#line hidden
				}
				catch (System.DivideByZeroException)
				{
					Sybase.PowerBuilder.PBRuntimeError.Throw(Sybase.PowerBuilder.RuntimeErrorCode.RT_R0001);
					throw new System.Exception();
				}
				catch (System.NullReferenceException)
				{
					Sybase.PowerBuilder.PBRuntimeError.Throw(Sybase.PowerBuilder.RuntimeErrorCode.RT_R0002);
					throw new System.Exception();
				}
				catch (System.IndexOutOfRangeException)
				{
					Sybase.PowerBuilder.PBRuntimeError.Throw(Sybase.PowerBuilder.RuntimeErrorCode.RT_R0003);
					throw new System.Exception();
				}
			}
			#line 33
			catch (System.Exception __PB_TEMP_e__temp)
			#line hidden
			{
				e = __PB_TEMP_e__temp;
				#line 34
				Sybase.PowerBuilder.WPF.PBSystemFunctions.MessageBox(new Sybase.PowerBuilder.PBString("Error"), new Sybase.PowerBuilder.PBString("Error en la consulta de datos a Google"));
				#line hidden
			}
			return new Sybase.PowerBuilder.PBLong(0);
		}