Esempio n. 1
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <returns></returns>
 public PixstockMainContent(Container container) : base("PixstockMainContent")
 {
     this.mContainer            = container;
     this.mWorkflow             = new CategoryTreeTransitionWorkflow(container);
     mWorkflow.InvokeShowFrame += OnInvokeShowFrame;
     mWorkflow.InvokeHideFrame += OnInvokeHideFrame;
 }
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <returns></returns>
 public PixstockMainContent(Container container) : base("PixstockMainContent")
 {
     this.mLogger               = LogManager.GetCurrentClassLogger();
     this.mContainer            = container;
     this.mWorkflow             = new CategoryTreeTransitionWorkflow(container);
     mWorkflow.InvokeShowFrame += OnInvokeShowFrame;
     mWorkflow.InvokeHideFrame += OnInvokeHideFrame;
 }
Esempio n. 3
0
        static void Main(string[] args)
        {
            Console.WriteLine("Start Application");

            var statemachine = new CategoryTreeTransitionWorkflow();

            statemachine.Setup();
            statemachine.Start();

            Console.WriteLine("End StartUp");


            Console.WriteLine("Fire TRNS_TOPSCREEN");
            statemachine.Fire(Events.TRNS_TOPSCREEN, null);

            Thread.Sleep(1000 * 1);

            Console.WriteLine("Fire TRNS_BACK");
            statemachine.Fire(Events.TRNS_BACK, null);

            Thread.Sleep(1000 * 1);

            Console.WriteLine("End Application");
        }