コード例 #1
0
ファイル: Program.cs プロジェクト: chauhanKV/DesignPatterns
        static void Main(string[] args)
        {
            SignUpDialogBox signUpForm = new SignUpDialogBox();

            signUpForm.simulateUserInteraction();
            Console.ReadLine();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            var articlesDialogBox = new ArticlesDialogBox();

            articlesDialogBox.SimulateUserInteraction();

            var articlesDialogBoxUsingObserver = new Solution.UsingObserver.ArticlesDialogBox();

            articlesDialogBoxUsingObserver.SimulateUserInteraction();

            Console.WriteLine("--- Exercise ---");

            var signUpDialogBox = new SignUpDialogBox();

            signUpDialogBox.SimulateUserInteraction();

            Console.ReadLine();
        }