Quantcast
Channel: Questions in topic: "dllimport"
Viewing all articles
Browse latest Browse all 160

Referencing a DLL in C#

$
0
0
I have created a .dll file that sets up printing capabilities and now I want to be able to reference the function in my C# code (on a button press) My .dll is as follows: using Android.Print; using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Android.Graphics; using Android.Print.Pdf; using System.IO; namespace PrintIMPORTteste { public class PrintActivity : Activity { protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.Print); var txtview = FindViewById(Resource.Id.textview1); txtview.Text = "Hello"; var button = FindViewById

Viewing all articles
Browse latest Browse all 160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>