예제 #1
0
 private void Form2_Load(object sender, EventArgs e)
 {
     if (TrackFactory.Init())
     {
         TrackFactory.SetUserInfo("User_001", "管理员");
         TrackFactory.Host = pnlContainer;
     }
     else
     {
         BaseMessageBox.ShowCustomerMessage(MessageBoxIcon.Exclamation, "警告", "系统初始化失败!");
     }
     _patInfoWidth = pnlPatInfo.Width;
 }