Ejemplo n.º 1
0
 public static PromotionPiece ShowPawnPromotionDialog(IWin32Window owner)
 {
     PawnPromotionDialog promotionDlg = new PawnPromotionDialog();
       promotionDlg.ShowDialog(owner);
       PromotionPiece result = promotionDlg.m_promotionPiece;
       promotionDlg.Dispose();
       return result;
 }
Ejemplo n.º 2
0
        public static PromotionPiece ShowPawnPromotionDialog(IWin32Window owner)
        {
            PawnPromotionDialog promotionDlg = new PawnPromotionDialog();

            promotionDlg.ShowDialog(owner);
            PromotionPiece result = promotionDlg.m_promotionPiece;

            promotionDlg.Dispose();
            return(result);
        }