예제 #1
0
 private void button5_Click(object sender, EventArgs e)
 {
     if (splashl != null)
     {
         splashl.SetClosed = true;
         splashl           = null;
     }
 }
예제 #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            splashl = new TK_SplashLicense();
            System.Version v = Assembly.GetExecutingAssembly().GetName().Version;
            splashl.ShowSplash(string.Format(CultureInfo.InvariantCulture, "{0}.{1}.{2} (r{3})", v.Major, v.Minor, v.Build, v.Revision), result);

            splashl.FormClosed += splashl_FormClosed;
        }
예제 #3
0
 private void splashl_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
 {
     MessageBox.Show(result.Result ? "OK" : "KO");
     result.Result = false;
     splashl       = null;
 }