示例#1
0
 /// <summary>
 /// CXP 2013-4-8点塔选择框
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetDiantaSelect()
 {
     try
     {
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.ProducePlan.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.ProducePlan.FrmSelectDiantaMain") as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw ex; }
 }
示例#2
0
 /// <summary>
 /// 到货单选择框 zhang 2012-8-9
 /// 添加:张镇波
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetGoodsAccept()
 {
     try
     {
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Purchase.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.Purchase.FrmGoodsAcceptSelect") as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw; }
 }
示例#3
0
 /// <summary>
 /// 手签名
 /// </summary>
 /// <returns></returns>
 public static Form GetSignForm()
 {
     try
     {
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.ApproveControl.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.ApproveControl.FrmSign") as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw ex; }
 }
示例#4
0
 /// <summary>
 /// 库存提醒框 张镇波 2013-10-30 增加
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetStockAlert()
 {
     try
     {
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Warehouse.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.Warehouse.FrmStockAlert") as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw ex; }
 }
示例#5
0
 /// <summary>
 /// 得到货车请车单选择框
 /// 添加:鄢国平 2014年6月4日 10:51:24
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetTruckApplySelect()
 {
     try
     {
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.EnterpriseBusiness.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.EnterpriseBusiness.FrmTruckApplySelect") as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#6
0
 /// <summary>
 /// 发运通知单选择框
 /// 鄢国平 2012-09-10
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetShippingNoticeSelect()
 {
     try
     {
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Sale.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.Sale.FrmShippingNoticeSelect") as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#7
0
 /// <summary>
 /// 得到杆塔明细选择框
 ///  添加:鄢国平
 ///  2013年8月28日 01:46:56
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetSectConfigDetailSelect(int cID)
 {
     try
     {
         object[] args = new object[1];
         args[0] = cID;
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Sale.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.Sale.FrmSectConfiDetailSelect", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#8
0
 /// <summary>
 /// 获取员工选择框
 /// 添加:鄢国平
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetEmployeeSelect()
 {
     try
     {
         Assembly         assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.OA.dll");
         BaseSelectDialog bs       = assembly.CreateInstance("FZYK.WinUI.OA.FrmEmployeeSelect") as BaseSelectDialog;
         return(bs);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#9
0
 /// <summary>
 /// 得到OA提醒框
 ///  添加:鄢国平 2013年1月28日 09:37:33
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetLimitDate(DataSet ds)
 {
     try
     {
         object[] args = new object[1];
         args[0] = ds;
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.OA.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.OA.FrmLimitDateMain", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#10
0
 /// <summary>
 /// 得到客户选择框
 /// 鄢国平 2013年5月29日 19:50:31
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetCustomerSelect(string ParentNum)
 {
     try
     {
         object[] args = new object[1];
         args[0] = ParentNum;
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.BaseSet.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.BaseSet.FrmCustomerSelect", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#11
0
 /// <summary>
 /// 得到费用选择框
 /// 鄢国平 2014年6月14日 16:29:02
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetHospitalitySelect(string sql)
 {
     try
     {
         object[] args = new object[1];
         args[0] = sql;
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.EnterpriseBusiness.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.EnterpriseBusiness.FrmHospitalitySelect", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#12
0
 /// <summary>
 /// 得到运输合同选择框
 /// 添加:鄢国平 2013年7月10日 15:50:08
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetTransportCompact(string oper)
 {
     try
     {
         //通过反射得到实例
         object[] args = new object[1];
         args[0] = oper;
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Sale.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.Sale.FrmTransportCompactSelect", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#13
0
 /// <summary>
 /// 得到原材料发票选择框
 /// 张镇波 2014年4月16日 20:28:10
 /// </summary>
 /// <param name="tag"></param>
 /// <returns></returns>
 public static BaseSelectDialog GetBillCheckinSelect(string tag, string tag1, string Company)
 {
     try
     {
         object[] obj = new object[3] {
             tag, tag1, Company
         };
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Purchase.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.Purchase.FrmBillCheckinSelect", true, BindingFlags.CreateInstance, null, obj, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch { return(null); }
 }
示例#14
0
 /// <summary>
 /// 流程选择 2012-12-29
 /// </summary>
 /// <param name="menu"></param>
 /// <param name="table"></param>
 /// <param name="key"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public static BaseSelectDialog GetFrmFlowSelect(string menu, string table, string key, int value)
 {
     try
     {
         object[] obj = new object[4] {
             menu, table, key, value
         };
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.BaseSet.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.BaseSet.FrmFlowSelect", true, BindingFlags.CreateInstance, null, obj, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw ex; }
 }
示例#15
0
 /// <summary>
 /// 入库明细选择框
 /// 2013-5-25 张(修改)
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetStockInSelect(string tag, int sfID, string user)
 {
     try
     {
         object[] obj = new object[3] {
             tag, sfID, user
         };
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Warehouse.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.Warehouse.FrmStockInSelect", true, BindingFlags.CreateInstance, null, obj, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw ex; }
 }
示例#16
0
 /// <summary>
 /// 到货单选择框 11-29修改 zhang
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetGoodsAccept(int sfID, string flag)
 {
     try
     {
         object[] obj = new object[2] {
             sfID, flag
         };
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Purchase.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.Purchase.FrmGoodsAcceptSelect", true, BindingFlags.CreateInstance, null, obj, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw; }
 }
示例#17
0
 /// <summary>
 /// 物料档案选择框(有参数) 2012-12-10 修改
 /// 2014-1-16 修改
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetMaterialSelect(DataTable dt, string tag, string tag1)
 {
     try
     {
         object[] obj = new object[3] {
             dt, tag, tag1
         };
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.BaseSet.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.BaseSet.FrmMaterialFileSelect", true, BindingFlags.CreateInstance, null, obj, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw; }
 }
示例#18
0
 /// <summary>
 /// 选择库存
 /// 张镇波 2016-6-19
 /// </summary>
 /// <param name="tag"></param>
 /// <returns></returns>
 public static BaseSelectDialog GetStockSelect(int wID, string source, string tag, string tag1)
 {
     try
     {
         object[] obj = new object[4] {
             wID, source, tag, tag1
         };
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Warehouse.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.Warehouse.FrmStockSelect", true, BindingFlags.CreateInstance, null, obj, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch { return(null); }
 }
示例#19
0
 /// <summary>
 /// FTP上传界面 zhang 9-20
 /// </summary>
 /// <param name="module"></param>
 /// <param name="fcMenu"></param>
 /// <param name="fcTable"></param>
 /// <param name="fcKey"></param>
 /// <param name="fcValue"></param>
 /// <returns></returns>
 public static BaseSelectDialog GetFTPUpload(string module, string fcMenu, string fcTable, string fcKey, int fcValue)
 {
     try
     {
         object[] obj = new object[5] {
             module, fcMenu, fcTable, fcKey, fcValue
         };
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.BaseSet.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.BaseSet.FrmFTP", true, BindingFlags.CreateInstance, null, obj, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw ex; }
 }
示例#20
0
 /// <summary>
 /// 供应商选择框(带参数) 2013-3-14 增加
 /// 添加:张镇波
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetSupplierSelect(string tag)
 {
     try
     {
         object[] obj = new object[1] {
             tag
         };
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.BaseSet.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.BaseSet.FrmSupplierFileSelect", true, BindingFlags.CreateInstance, null, obj, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw ex; }
 }
示例#21
0
 /// <summary>
 /// 选择采购计划明细
 /// 2013-11-20 新增张镇波
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetPurchaseApplySelect(string type, string tag, string tag1)
 {
     try
     {
         object[] obj = new object[3] {
             type, tag, tag1
         };
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Purchase.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.Purchase.FrmPurchaseApplySelect", true, BindingFlags.CreateInstance, null, obj, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw ex; }
 }
示例#22
0
 /// <summary>
 /// 打印备注
 /// 张镇波 2013-6-17
 /// </summary>
 /// <param name="tag"></param>
 /// <returns></returns>
 public static BaseSelectDialog GetPrintRemark(string prName)
 {
     try
     {
         object[] obj = new object[1] {
             prName
         };
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.BaseSet.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.BaseSet.FrmPrintRemark", true, BindingFlags.CreateInstance, null, obj, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch { return(null); }
 }
示例#23
0
 /// <summary>
 /// 生产任务下达选择框
 /// 添加:天生 2013年1月8日 15:42:43
 /// </summary>
 /// <param name="Parent">传入对应界面的参数</param>
 /// <returns></returns>
 public static BaseSelectDialog GetProduceTaskSelect(string Parent, string fTypeName)
 {
     try
     {
         object[] args = new object[2];
         args[0] = Parent;
         args[1] = fTypeName;
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.FangYang.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.FangYang.FrmProduceTaskSelect", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#24
0
 /// <summary>
 /// 得到得到接收情况
 /// 添加:鄢国平 2012-11-26
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetNotifyBoardSign(string nbTurn, string nbFormName)
 {
     try
     {
         object[] args = new object[2];
         args[0] = nbTurn;
         args[1] = nbFormName;
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.SystemManage.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.SystemManage.FrmNotifyBoardSign", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#25
0
 /// <summary>
 /// 获取放样塔型数据选择框
 /// </summary>
 /// <param name="fID">fID</param>
 /// <param name="where">必须加AND 字段前缀是fmsdv</param>
 /// <returns></returns>
 public static BaseSelectDialog GetMaterialDetailSelect(int fID, string where)
 {
     try
     {
         object[] args = new object[2];
         args[0] = fID;
         args[1] = where;
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.FangYang.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.FangYang.FrmMaterialDetailSelect", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#26
0
 /// <summary>
 /// 补件选择框
 /// 鄢国平 2013年5月30日 22:50:26
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetPatchSelect(string sql, string tag)
 {
     try
     {
         object[] args = new object[2];
         args[0] = sql;
         args[0] = tag;
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Sale.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.Sale.FrmPatchSelect", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#27
0
 /// <summary>
 /// 得到补件申请单塔型明细
 /// 添加:鄢国平 2013年4月3日 16:07:22
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetPatchDetail(string operate, int cCustomerID)
 {
     try
     {
         //通过反射得到实例
         object[] args = new object[2];
         args[0] = operate;
         args[1] = cCustomerID;
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Sale.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.Sale.FrmPatchDetailSelect", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#28
0
 /// <summary>
 /// CXP 2012-11-26派工设备选择框
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetProcessesDeviceSelect(string wsName, string pid)
 {
     try
     {
         //通过反射得到实例
         object[] args = new object[2];
         args[0] = wsName;
         args[1] = pid;
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.BaseSet.dll");
         BaseSelectDialog frm       = _assembly.CreateInstance("FZYK.WinUI.BaseSet.FrmProcessesDeviceSelect", true, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(frm);
     }
     catch (Exception ex) { throw ex; }
 }
示例#29
0
 /// <summary>
 ///  选择调度设备方案CXP 2013-05-28
 /// </summary>
 /// <returns></returns>
 public static BaseSelectDialog GetFrmProcessesPlan(string DDName, string paType, bool ifSelectOne)
 {
     try
     {
         object[] args = new object[3];
         args[0] = DDName;
         args[1] = paType;
         args[2] = ifSelectOne;
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.ProducePlan.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.ProducePlan.FrmProcessesPlan", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }
示例#30
0
 ///鄢国平 2012-08-15
 /// <summary>
 /// 得到任务单明细选择框
 /// </summary>
 /// <param name="tdid">塔形TDID,没有的话传0</param>
 /// <returns></returns>
 public static BaseSelectDialog GetOrderTaskDetailSelect(int tdid, string oper, string sql)
 {
     try
     {
         object[] args = new object[3];
         args[0] = tdid;
         args[1] = oper;
         args[2] = sql;
         //通过反射得到实例
         Assembly         _assembly = Assembly.LoadFile(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\FZYK.WinUI.Sale.dll");
         BaseSelectDialog form      = _assembly.CreateInstance("FZYK.WinUI.Sale.FrmOrderTaskDetailSelect", false, BindingFlags.CreateInstance, null, args, null, null) as BaseSelectDialog;
         return(form);
     }
     catch (Exception ex) { throw ex; }
 }