예제 #1
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            GlobalVariables.NewSessions_Search_Flag = 0;
            try
            {
                if (GlobalVariables.neulogProcess.HasExited == false)
                {
                    GlobalVariables.neulogProcess.Kill();
                }
            }
            catch (Exception)
            {
            }
            try
            {
                if (GlobalVariables.sessionProcess.HasExited == false)
                {
                    var process = Process.GetProcesses().Where(pr => pr.ProcessName.Contains(GlobalVariables.sessionProcess.ProcessName));
                    foreach (var procs in process)
                    {
                        procs.Kill();
                    }
                }
            }
            catch (Exception)
            {
            }
            New_Session_Page new_session = new New_Session_Page();

            this.Hide();
            new_session.Show();
        }
예제 #2
0
        private void btnNewSession_Click(object sender, EventArgs e)
        {
            GlobalVariables.NewSessions_Search_Flag = 0;
            New_Session_Page new_session = new New_Session_Page();

            this.Hide();
            new_session.Show();
        }