Windows窗体消息框 [英] Windows Form Message Box

查看:123
本文介绍了Windows窗体消息框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我做了基本的控制台应用程序但是如何在这个例子中执行Windows应用程序。

I did basic console application but how can I do windows application this example.

static void Main(string[] args)
        {
            Console.WriteLine("Bir sayı giriniz : ");

            int sayi = int.Parse(Console.ReadLine());
           
            for (int i = 1; i <= sayi; i++)
            {
            
                Console.WriteLine();
                for (int j = 1; j <= sayi; j++)
                {
                    Console.Write("{0} ", i * j);
                 
                }

            }
         
            Console.ReadKey();
        }

推荐答案

你呢意思是说你想要像Windows窗体一样显示消息框,或者你想在Windows窗体应用程序中编写相同的代码,因为你的问题有点模糊。请再解释一下。
do you mean to say you want to show message box like windows forms or you want to write same code in Windows Forms application as your question is bit vague. please explain a little more.


这篇关于Windows窗体消息框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆