예제 #1
0
파일: FrmMain.cs 프로젝트: spetpet/LLGL2012
 private void 客户资料ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!PowerCheckCsClass.IfHasPower(LoginClass.LogID, CommFunction.GSYSNAME, sender, CommFunction.ConnectString))
     {
         return;
     }
     FrmColdVendor.ShowUniqueForm(true);
 }
예제 #2
0
 private void FrmColdVendor_FormClosed(object sender, FormClosedEventArgs e)
 {
     pUniqueForm = null;//窗体唯一打开代码
 }
예제 #3
0
        private static FrmColdVendor pUniqueForm = null; //窗体唯一打开代码

        #endregion Fields

        #region Constructors

        public FrmColdVendor()
        {
            pUniqueForm = this;//窗体唯一打开代码
            InitializeComponent();
        }
예제 #4
0
 private void FrmColdVendor_FormClosed(object sender, FormClosedEventArgs e)
 {
     pUniqueForm = null;//窗体唯一打开代码
 }
예제 #5
0
 public FrmColdVendor()
 {
     pUniqueForm = this;//窗体唯一打开代码
     InitializeComponent();
 }