示例#1
0
文件: View.cs 项目: peleccom/chess
        /// <summary>
        /// Вызвать диалог выбора новой фигуры
        /// </summary>
        /// <returns></returns>
        public FigureTypes SelectFigure()
        {
            ChooseFigureForm form = new ChooseFigureForm();

            form.ShowDialog();
            return(form.GetFigureType());
        }
示例#2
0
文件: View.cs 项目: peleccom/chess
 /// <summary>
 /// Вызвать диалог выбора новой фигуры
 /// </summary>
 /// <returns></returns>
 public FigureTypes SelectFigure()
 {
     ChooseFigureForm form = new ChooseFigureForm();
     form.ShowDialog();
     return form.GetFigureType();
 }