Hi,
your first invoke of frmmater is nearly right.
frmmaster obj_co = new frmmaster();
Your second piece of code makes no sense for me.
Usually you use a own dll-File like this. You have to declare your method public to use from outside.
in your dll:
public class Calculator
{
public double Add(double val1, double val2)
{
return val1 + val2;
}
}
Usage of this dll in anyone Form:
Calculator.Calculator calc = new Calculator.Calculator();
MessageBox.Show(calc.Add(9, 6).ToString());
Best Regards