Exemplo n.º 1
0
 public static void AddUserVersionButton_Click( VersionInfo VersionInfo, EventArgs e, Panel Caller)
 {
     if (VersionInfo != null)
     {
         Util.UserDebug("Add User Version Button Clicked " + VersionInfo.versionName);
         UserVersionForm uservers = new UserVersionForm(VersionInfo, m_FTObjects.AllUserVersions);
         DialogResult res = uservers.ShowDialog(Caller);
         if (res == DialogResult.OK)
         {
             UserVersVer ver = new UserVersVer();
             ver.uservers = uservers;
             ver.versionInfo = VersionInfo;
             new Thread(new ParameterizedThreadStart(HandleAddUser)).Start(ver);
         }
     }
 }
Exemplo n.º 2
0
 void AddUserVersionButton_Click(object sender, EventArgs e)
 {
     Util.UserDebug("Add User Version Button Clicked in Calendar on version " + this.m_VersionInfo.versionName);
     UserVersionForm uservers = new UserVersionForm(this.m_VersionInfo, m_FTObjects.AllUserVersions);
     DialogResult res = uservers.ShowDialog();
     if (res == DialogResult.OK)
     {
         new Thread(new ParameterizedThreadStart(HandleAddUser)).Start(uservers);
     }
 }