<pre>#using "consume_cs_indexers.dll" //c# library using namespace System; #include "MyForm.h" using namespace Project702; int main() { IndexerClass ^ ic = gcnew IndexerClass; //ic->default[0] = 21; //for (int i = 0; i <= 10; i++) // Console::WriteLine("Element #{0} = {1}", i, ic->default[i]); int result = ic->Add(3, 6); System::String^ s = result.ToString(); MyForm ^ fm = gcnew MyForm; //fm->Pr fm->MyString2 = s; fm->ShowDialog(); ic->PrintLabelAction(); //fm->ShowDialog(); }
public void PrintLabelAction() { OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.Filter = "DYMO files |*.label;*.dymo|All files|*.*"; var FileName = ""; //var LabelObjects = ""; if (openFileDialog.ShowDialog() == true) // in this raw code get into a loop {
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)