当前位置: 首页>>代码示例>>C#>>正文


C# PowerBuilder.PBInt类代码示例

本文整理汇总了C#中Sybase.PowerBuilder.PBInt的典型用法代码示例。如果您正苦于以下问题:C# Sybase.PowerBuilder.PBInt类的具体用法?C# Sybase.PowerBuilder.PBInt怎么用?C# Sybase.PowerBuilder.PBInt使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Sybase.PowerBuilder.PBInt类属于命名空间,在下文中一共展示了Sybase.PowerBuilder.PBInt类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: _init

	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();
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:30,代码来源:u_mle.cs

示例2: _init

		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();
		}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:31,代码来源:u_quotebar.cs

示例3: of_reset_button_colors

	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
				}
		}
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:29,代码来源:gui_u_navbar_u.cs

示例4: _init

		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();
		}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:35,代码来源:u_config.cs

示例5: _init

		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();
		}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:38,代码来源:u_buy_sell.cs

示例6: _init

		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();
		}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:23,代码来源:u_account.cs

示例7: _init

	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);
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:28,代码来源:w_order_alert.cs

示例8: _init

		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();
		}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:18,代码来源:u_home.cs

示例9: ue_set_page

	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
			}
		}

	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:99,代码来源:w_stocktrader.cs

示例10: _init

	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);
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:24,代码来源:w_stocktrader.cs

示例11: open

	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);
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:48,代码来源:w_stocktrader.cs

示例12: ue_show_buy_sell

	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;	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:24,代码来源:w_stocktrader.cs

示例13: isonline

	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));

	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:9,代码来源:tradeserviceasmx.cs

示例14: cancelasync

	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));

	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:15,代码来源:tradeserviceasmx.cs

示例15: of_update

	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
			}
//.........这里部分代码省略.........
开发者ID:vactorwu,项目名称:catch23-project,代码行数:101,代码来源:u_account.cs


注:本文中的Sybase.PowerBuilder.PBInt类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。