You can start
dism.exe /Online /Enable-Feature /FeatureName:MSMQ-Server /all
as a process using:
System.Diagnostics.Process.Start()
If you need any aditionally Msmq features, you can find list this by doing:
dism.exe /online /get-features | Find "MSMQ"
which gives you something like:
Feature Name : MSMQ-Container
Feature Name : MSMQ-Server
Feature Name : MSMQ-Triggers
Feature Name : MSMQ-ADIntegration
Feature Name : MSMQ-HTTP
Feature Name : MSMQ-Multicast
Feature Name : MSMQ-DCOMProxy
Feature Name : WCF-MSMQ-Activation45