Using certificate and key from resource is very easy. To do this invoke Select Certificate dialog from Property editor for MySqlConnection.SslOptions.Cert property, choose 'Resource' option, select file. This file will be automatically added to your program as embedded resource.
To use certificate from storage you have to install appropriate certificates to the storage, then select required certificate using MySqlConnection design-time features.