示例#1
0
文件: Form1.cs 项目: ogamespec/psxdev
        /// <summary>
        /// Изменение автоподстановки индекса контрольных точек
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        ///
        private void editKeypointIndexToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormKeypointIndex form = new FormKeypointIndex(kpIndexLeft, kpIndexRight);

            form.FormClosed += Form_FormClosed;
            form.ShowDialog();
        }
示例#2
0
文件: Form1.cs 项目: ogamespec/psxdev
        private void Form_FormClosed(object sender, FormClosedEventArgs e)
        {
            FormKeypointIndex form = (FormKeypointIndex)sender;

            if (form.OkPressed)
            {
                kpIndexLeft  = form.indexLeft;
                kpIndexRight = form.indexRight;
            }
        }