コード例 #1
0
        public RPCInspectForm(IntegratedAuthoringToolAsset iatAsset, AssetStorage storage, string rpcName)
        {
            InitializeComponent();

            EditorTools.AllowOnlyGroundedLiteralOrUniversal(wfNameActionLayer);
            wfNameActionLayer.Value = WellFormedNames.Name.UNIVERSAL_SYMBOL;
            this.iat     = iatAsset;
            this.storage = storage;
            this.rpcName = rpcName;
            this.Text   += " - " + rpcName;

            actions = new BindingListView <IAction>((IList)null);
            dataGridViewDecisions.DataSource = actions;
            EditorTools.HideColumns(dataGridViewDecisions, new[]
            {
                PropertyUtil.GetPropertyName <IAction>(a => a.Parameters)
            });

            emotions = new BindingListView <EmotionDTO>((IList)null);
            dataGridActiveEmotions.DataSource = emotions;
        }