using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;namespace Service911.CSharp
{
class clsLimitPrice
{
// 申明类内的常量
public const string MY_PXXML = ""; // 声明类内的变量
private string strAA = "";
public static void GetPrice(){
MessageBox.Show("hi!");
} }
}
我如何让程序一启动就运行这个方法?(GetPrice)要如何更改 PROGRAM.CS 中的 Application.Run()
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;namespace Service911.CSharp
{
class clsLimitPrice
{
// 申明类内的常量
public const string MY_PXXML = ""; // 声明类内的变量
private string strAA = "";
public static void GetPrice(){
MessageBox.Show("hi!");
} }
}
我如何让程序一启动就运行这个方法?(GetPrice)要如何更改 PROGRAM.CS 中的 Application.Run()
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货