コード例 #1
0
ファイル: MainForm.cs プロジェクト: LuckyLuik/AudioVSTToolbox
		private void HostCmdStub_PluginCalled(object sender, PluginCalledEventArgs e)
		{
			var hostCmdStub = (HostCommandStub)sender;

			// can be null when called from inside the plugin main entry point.
			if (hostCmdStub.PluginContext.PluginInfo != null)
			{
				Debug.WriteLine("Plugin " + hostCmdStub.PluginContext.PluginInfo.PluginID + " called:" + e.Message);
			}
			else
			{
				Debug.WriteLine("The loading Plugin called:" + e.Message);
			}
		}
コード例 #2
0
        private void HostCmdStub_PluginCalled(object sender, PluginCalledEventArgs e)
        {
            HostCommandStub hostCmdStub = (HostCommandStub)sender;

            // can be null when called from inside the plugin main entry point.
            if (hostCmdStub.PluginContext.PluginInfo != null)
            {
                Debug.WriteLine("Plugin " + hostCmdStub.PluginContext.PluginInfo.PluginID + " called:" + e.Message);
            }
            else
            {
                Debug.WriteLine("The loading Plugin called:" + e.Message);
            }
        }