Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
Type type = assembly.GetType("CoalTraffic.Report." + strReportArea + "LoadWeightPrint");
object obj = Activator.CreateInstance(type, strWeightCode,true); Form formToShow = (Form)obj; formToShow.ShowDialog();
Type type = assembly.GetType("CoalTraffic.Report." + strReportArea + "LoadWeightPrint");
object obj = Activator.CreateInstance(type, strWeightCode,true); Form formToShow = (Form)obj; formToShow.ShowDialog();