Exemplo n.º 1
0
        //────────────────────────────────────────
        public Usercontrol Perform(
            Expression_Node_StringImpl ec_FcName,
            MemoryApplication owner_MemoryApplication
            )
        {
            UsercontrolPanel uctPnl = new UsercontrolPanel();

            // 名前だけ初期設定
            uctPnl.Expression_Name_Control = ec_FcName;
            uctPnl.ControlCommon.Owner_MemoryApplication = owner_MemoryApplication;

            return uctPnl;
        }
        //────────────────────────────────────────
        public Usercontrol Perform(
            Expression_Node_StringImpl ec_FcName,
            MemoryApplication owner_MemoryApplication
            )
        {
            //
            // 既に起動されているウィンドウに、パネルを埋め込む指定です。
            //

            // パネルとして作成します。
            UsercontrolPanel uctPnl = new UsercontrolPanel();
            //ucPanel.BackColor = Color.Transparent;

            // 名前だけ初期設定
            uctPnl.Expression_Name_Control = ec_FcName;
            uctPnl.ControlCommon.Owner_MemoryApplication = owner_MemoryApplication;

            return uctPnl;
        }