Example #1
0
        /// <summary>
        /// 添加游戏
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void btnAddGame_Click(object sender, RoutedEventArgs e)
        {
            SelectProcess sp = new SelectProcess();

            sp.Owner = this;
            sp.ShowDialog();
        }
Example #2
0
        private void NewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var selectProcessForm = new SelectProcess();

            selectProcessForm.ShowDialog();

            var selectedProcess = selectProcessForm.SelectedProcess;

            if (selectedProcess <= 0)
            {
                return;
            }
            _selectedProcessId = selectedProcess;
            InspectProcess(selectedProcess);
        }