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


C# PowerBuilder.PBString类代码示例

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


Sybase.PowerBuilder.PBString类属于命名空间,在下文中一共展示了Sybase.PowerBuilder.PBString类的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: getdetailmessage

	public virtual Sybase.PowerBuilder.PBString getdetailmessage()
	{
		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.PBString();
		_object.Invoke(2, __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBString));

		return (Sybase.PowerBuilder.PBString)__PBNIInteralReturn;
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:10,代码来源:soapexception.cs

示例3: of_log

	public virtual Sybase.PowerBuilder.PBInt of_log(Sybase.PowerBuilder.PBString as_source, Sybase.PowerBuilder.PBString as_message)
	{
		#line hidden
		Sybase.PowerBuilder.PBInt li_filenumber = Sybase.PowerBuilder.PBInt.DefaultValue;
		Sybase.PowerBuilder.PBInt li_chars = Sybase.PowerBuilder.PBInt.DefaultValue;
		Sybase.PowerBuilder.PBString ls_message = Sybase.PowerBuilder.PBString.DefaultValue;
		#line 11
		if ((Sybase.PowerBuilder.PBBoolean)((((as_source == new Sybase.PowerBuilder.PBString(""))| (as_message == new Sybase.PowerBuilder.PBString("")))| Sybase.PowerBuilder.WPF.PBSystemFunctions.IsNull((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(as_source)))))| Sybase.PowerBuilder.WPF.PBSystemFunctions.IsNull((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(as_message))))))
		#line hidden
		{
			#line 12
			return new Sybase.PowerBuilder.PBInt(-1);
			#line hidden
		}
		#line 18
		li_filenumber = Sybase.PowerBuilder.WPF.PBSystemFunctions.FileOpen(is_logfile, (new Sybase.PowerBuilder.PBFileModeValue(Sybase.PowerBuilder.PBFileMode.LineMode)), (new Sybase.PowerBuilder.PBFileAccessValue(Sybase.PowerBuilder.PBFileAccess.Write)), (new Sybase.PowerBuilder.PBFileLockValue(Sybase.PowerBuilder.PBFileLock.LockWrite)), (new Sybase.PowerBuilder.PBWriteModeValue(Sybase.PowerBuilder.PBWriteMode.Append)), 
			(new Sybase.PowerBuilder.PBEncodingValue(Sybase.PowerBuilder.PBEncoding.EncodingUTF8)));
		#line hidden
		#line 20
		if ((Sybase.PowerBuilder.PBBoolean)(li_filenumber == new Sybase.PowerBuilder.PBInt(-1)))
		#line hidden
		{
			#line 20
			return new Sybase.PowerBuilder.PBInt(-2);
			#line hidden
		}
		#line 23
		ls_message = (new Sybase.PowerBuilder.PBString("***")+ Sybase.PowerBuilder.WPF.PBSystemFunctions.String((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(Sybase.PowerBuilder.WPF.PBSystemFunctions.Today()))), new Sybase.PowerBuilder.PBString("dddd, mmmm dd yyyy hh:mm:ss")))+ new Sybase.PowerBuilder.PBString("***");
		#line hidden
		#line 25
		ls_message += new Sybase.PowerBuilder.PBString(" Object:")+ as_source;
		#line hidden
		#line 27
		ls_message += new Sybase.PowerBuilder.PBString(" Message:")+ as_message;
		#line hidden
		#line 29
		li_chars = (Sybase.PowerBuilder.PBInt)(Sybase.PowerBuilder.WPF.PBSystemFunctions.FileWriteEx(li_filenumber, ls_message));
		#line hidden
		#line 30
		Sybase.PowerBuilder.WPF.PBSystemFunctions.FileClose(li_filenumber);
		#line hidden
		#line 31
		return li_chars;
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:45,代码来源:dal_n_logger_u.cs

示例4: create

	public override void create()
	{
		#line hidden
		#line hidden
		AppName = new Sybase.PowerBuilder.PBString("smjl");
		#line hidden
		#line hidden
		message = (Sybase.PowerBuilder.PBMessage)this.CreateInstance(typeof(Sybase.PowerBuilder.PBMessage));
		#line hidden
		#line hidden
		sqlca = (Sybase.PowerBuilder.PBTransaction)this.CreateInstance(typeof(Sybase.PowerBuilder.PBTransaction));
		#line hidden
		#line hidden
		sqlda = (Sybase.PowerBuilder.PBDynamicDescriptionArea)this.CreateInstance(typeof(Sybase.PowerBuilder.PBDynamicDescriptionArea));
		#line hidden
		#line hidden
		sqlsa = (Sybase.PowerBuilder.PBDynamicStagingArea)this.CreateInstance(typeof(Sybase.PowerBuilder.PBDynamicStagingArea));
		#line hidden
		#line hidden
		error = (Sybase.PowerBuilder.PBError)this.CreateInstance(typeof(Sybase.PowerBuilder.PBError));
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:22,代码来源:smjl.cs

示例5: _init

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

示例6: _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

示例7: _init

	void _init()
	{
		AppName = new Sybase.PowerBuilder.PBString("wpfapp");
		#line hidden
		this.CreateEvent += new Sybase.PowerBuilder.PBEventHandler(this.create);
		this.DestroyEvent += new Sybase.PowerBuilder.PBEventHandler(this.destroy);
		this.OpenEvent += new Sybase.PowerBuilder.PBOpenHandler(this.open);
	}
开发者ID:hectororla,项目名称:cliente_rest_powerbuilder,代码行数:8,代码来源:wpfapp_wpfapp_a.cs

示例8: _init

		void _init()
		{
			X = new Sybase.PowerBuilder.PBInt(3595);
			#line hidden
			Y = new Sybase.PowerBuilder.PBInt(26);
			#line hidden
			Width = new Sybase.PowerBuilder.PBInt(944);
			#line hidden
			Height = new Sybase.PowerBuilder.PBInt(166);
			#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("Calibri");
			#line hidden
			TextColor = new Sybase.PowerBuilder.PBLong(23213090);
			#line hidden
			BackColor = new Sybase.PowerBuilder.PBLong(30960128);
			#line hidden
			Text = new Sybase.PowerBuilder.PBString(".NET StockTrader Performance Application");
			#line hidden
			Alignment = (new Sybase.PowerBuilder.PBAlignmentValue(Sybase.PowerBuilder.PBAlignment.Right));
			#line hidden
			FocusRectangle = new Sybase.PowerBuilder.PBBoolean(false);
			#line hidden

			OnInitialUpdate();
		}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:35,代码来源:u_header.cs

示例9: _init

		void _init()
		{
			Text = new Sybase.PowerBuilder.PBString("Cofiguration");
			#line hidden

			OnInitialUpdate();
		}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:7,代码来源:u_config.cs

示例10: of_action

	public virtual void of_action()
	{
		#line hidden
		Sybase.PowerBuilder.PBString invalid_number = Sybase.PowerBuilder.PBString.DefaultValue;
		c__n_order ln_order = null;
		Sybase.PowerBuilder.PBException e = null;
		try
		{
			try
			{
				#line 5
				if ((Sybase.PowerBuilder.PBBoolean)(is_mode == new Sybase.PowerBuilder.PBString("S")))
				#line hidden
				{
					#line 6
					invalid_number = new Sybase.PowerBuilder.PBString("Please enter a valid number between 1 and ");
					#line hidden
					#line 7
					invalid_number += Sybase.PowerBuilder.Web.PBSystemFunctions.String((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(il_shares))));
					#line hidden
					#line 8
					if ((Sybase.PowerBuilder.PBBoolean)(!(Sybase.PowerBuilder.Web.PBSystemFunctions.IsNumber(sle_amount.Text))| (Sybase.PowerBuilder.Web.PBSystemFunctions.Long((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(sle_amount.Text))))> il_shares)))
					#line hidden
					{
						#line 9
						this.of_showmessage(new Sybase.PowerBuilder.PBBoolean(true), invalid_number);
						#line hidden
						#line 10
						return;
						#line hidden
					}
					#line 12
					this.of_showmessage(new Sybase.PowerBuilder.PBBoolean(false), new Sybase.PowerBuilder.PBString(""));
					#line hidden
					#line 13
					ln_order = c__stocktrader.GetCurrentApplication().gn_controller.of_sell(il_holdingid, Sybase.PowerBuilder.Web.PBSystemFunctions.Long((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(sle_amount.Text)))));
					#line hidden
				}
				else
				{
					#line 15
					invalid_number = new Sybase.PowerBuilder.PBString("Please enter a valid number greater than 1");
					#line hidden
					#line 16
					if ((Sybase.PowerBuilder.PBBoolean)(!(Sybase.PowerBuilder.Web.PBSystemFunctions.IsNumber(sle_amount.Text))| (Sybase.PowerBuilder.Web.PBSystemFunctions.Long((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(sle_amount.Text))))< (Sybase.PowerBuilder.PBLong)(new Sybase.PowerBuilder.PBInt(1)))))
					#line hidden
					{
						#line 17
						this.of_showmessage(new Sybase.PowerBuilder.PBBoolean(true), invalid_number);
						#line hidden
						#line 18
						return;
						#line hidden
					}
					#line 20
					this.of_showmessage(new Sybase.PowerBuilder.PBBoolean(false), new Sybase.PowerBuilder.PBString(""));
					#line hidden
					#line 21
					ln_order = c__stocktrader.GetCurrentApplication().gn_controller.of_buy(c__stocktrader.GetCurrentApplication().gn_controller.of_get_profile_id(), is_symbol, (Sybase.PowerBuilder.PBDouble)(Sybase.PowerBuilder.Web.PBSystemFunctions.Long((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(sle_amount.Text))))));
					#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 23
		catch (Sybase.PowerBuilder.PBExceptionE __PB_TEMP_e__temp)
		#line hidden
		{
			e = __PB_TEMP_e__temp.E;
			#line 24
			this.of_showmessage(new Sybase.PowerBuilder.PBBoolean(true), new Sybase.PowerBuilder.PBString("Transaction Failed ")+ e.GetMessage());
			#line hidden
			#line 25
			return;
			#line hidden
		}
		#line 28
		Sybase.PowerBuilder.Web.PBSystemFunctions.OpenWithParm(ref c__stocktrader.GetCurrentApplication().w_order_alert, (Sybase.PowerBuilder.PBPowerObject)(ln_order));
		#line hidden
		#line 29
		c__stocktrader.GetCurrentApplication().w_stocktrader.ue_display_orders();
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:97,代码来源:u_buy_sell.cs

示例11: _init

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

示例12: of_initialize

	public virtual void of_initialize(Sybase.PowerBuilder.PBString as_buy_sell_flag, Sybase.PowerBuilder.PBLong al_shares, Sybase.PowerBuilder.PBLong al_holdingid, Sybase.PowerBuilder.PBString as_symbol, Sybase.PowerBuilder.PBDecimal adc_price)
	{
		#line hidden
		#line 1
		is_mode = as_buy_sell_flag;
		#line hidden
		#line 2
		il_shares = al_shares;
		#line hidden
		#line 3
		il_holdingid = al_holdingid;
		#line hidden
		#line 4
		is_symbol = as_symbol;
		#line hidden
		#line 5
		idc_price = (Sybase.PowerBuilder.PBDouble)(adc_price);
		#line hidden
		#line 7
		if ((Sybase.PowerBuilder.PBBoolean)(as_buy_sell_flag == new Sybase.PowerBuilder.PBString("B")))
		#line hidden
		{
			#line 8
			pb_buy_sell.Text = new Sybase.PowerBuilder.PBString("Buy");
			#line hidden
			#line 9
			st_action.Text = ((new Sybase.PowerBuilder.PBString("You have requested to buy shares of ")+ as_symbol)+ new Sybase.PowerBuilder.PBString(" which is currently trading at "))+ Sybase.PowerBuilder.Web.PBSystemFunctions.String((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(adc_price))), new Sybase.PowerBuilder.PBString("$#,###.00"));
			#line hidden
		}
		else
		{
			#line 11
			pb_buy_sell.Text = new Sybase.PowerBuilder.PBString("Sell");
			#line hidden
			#line 12
			st_action.Text = (((((new Sybase.PowerBuilder.PBString("You have requested to sell all or part of your holding #")+ Sybase.PowerBuilder.Web.PBSystemFunctions.String((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(al_holdingid)))))+ new Sybase.PowerBuilder.PBString(". This holding has a total of "))+ Sybase.PowerBuilder.Web.PBSystemFunctions.String((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(al_shares)))))+ new Sybase.PowerBuilder.PBString(" shares of stock "))+ as_symbol)+ new Sybase.PowerBuilder.PBString(".  Please input how many shares to sell.");
			#line hidden
		}
		#line 15
		sle_amount.Text = new Sybase.PowerBuilder.PBString("");
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:42,代码来源:u_buy_sell.cs

示例13: _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

示例14: _init

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

示例15: _init

		void _init()
		{
			DataObject = new Sybase.PowerBuilder.PBString("d_holding_totals");
			#line hidden
			this.CreateEvent -= new Sybase.PowerBuilder.PBEventHandler(this.create);
			this.DestroyEvent -= new Sybase.PowerBuilder.PBEventHandler(this.destroy);

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


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