本文整理汇总了C#中FormTypes类的典型用法代码示例。如果您正苦于以下问题:C# FormTypes类的具体用法?C# FormTypes怎么用?C# FormTypes使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FormTypes类属于命名空间,在下文中一共展示了FormTypes类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: SalaryLevelForm
public SalaryLevelForm(FormTypes type, string ID)
{
InitializeComponent();
this.Loaded += new RoutedEventHandler(SalaryLevelForm_Loaded);
FormType = type;
salaryLevelID = ID;
//if (postlevelDistinction != null)
//{
// distinction = postlevelDistinction;
// this.DataContext = distinction;
// BindCombox();
//}
//InitParas();
//if (string.IsNullOrEmpty(ID))
//{
// salaryLevel = new T_HR_SALARYLEVEL();
// salaryLevel.SALARYLEVELID = Guid.NewGuid().ToString();
// this.DataContext = salaryLevel;
//}
//else
//{
// client.GetSalaryLevelByIDAsync(ID);
//}
}
示例2: SatisfactionSurveyChildWindow
public SatisfactionSurveyChildWindow(FormTypes actionType, string masterId)
{
InitializeComponent();
this.actionType = actionType;
this.masterId = masterId;
this.Loaded += new RoutedEventHandler(SatisfactionSurveyChildWindow_Loaded);
}
示例3: ImportSetMasterForm
public ImportSetMasterForm(FormTypes type, string strID)
{
InitializeComponent();
FormType = type;
importSetID = strID;
InitEnvent(strID);
}
示例4: EmployeeSurveyDistributeChildWindow
public EmployeeSurveyDistributeChildWindow(FormTypes actionTypes, string key)
{
InitializeComponent();
this.actionTypes = actionTypes;
this.key = key;
this.Loaded += new RoutedEventHandler(EmployeeSurveyDistributeChildWindow_Loaded);
}
示例5: PensionAlarmSetForm
public PensionAlarmSetForm(FormTypes type, string pensionAlarmSetID)
{
InitializeComponent();
FormType = type;
this.pensionAlarmSetID = pensionAlarmSetID;
InitParas(pensionAlarmSetID);
}
示例6: LeaveTypeSetForm
public LeaveTypeSetForm(FormTypes formtype, string strLeaveTypeSetID)
{
FormType = formtype;
LeaveTypeSetID = strLeaveTypeSetID;
InitializeComponent();
this.Loaded += new RoutedEventHandler(LeaveTypeSetForm_Loaded);
}
示例7: DepartmentDictionaryForms
public DepartmentDictionaryForms(FormTypes type, string depID)
{
InitializeComponent();
FormType = type;
this.departmentdictid = depID;
InitParas(depID);
}
示例8: AreaAllowanceForm
public AreaAllowanceForm(FormTypes type, string allowanceID, string areaID, string postlevel)
{
InitializeComponent();
InitParas();
this.areaID = areaID;
FormType = type;
PostLevel = postlevel;
AllowancelID = allowanceID;
this.Loaded += new RoutedEventHandler(AreaAllowanceForm_Loaded);
//if (string.IsNullOrEmpty(allowanceID))
//{
// allowance = new T_HR_AREAALLOWANCE();
// allowance.AREAALLOWANCEID = Guid.NewGuid().ToString();
// allowance.T_HR_AREADIFFERENCE = new T_HR_AREADIFFERENCE();
// allowance.T_HR_AREADIFFERENCE.AREADIFFERENCEID = areaID;
// allowance.CREATEUSERID = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID;
// allowance.CREATEDATE = System.DateTime.Now;
// //areacity.UPDATEDATE = System.DateTime.Now;
// //areacity.UPDATEUSERID = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID;
// cbArea.IsEnabled = false;
// this.DataContext = allowance;
//}
//else
//{
// cbArea.IsEnabled = false;
// cbPostLevel.IsEnabled = false;
// client.GetAreaAllowanceByIDAsync(allowanceID);
//}
}
示例9: BorrowAppForm
List<string> ListDict = new List<string>(); //字典列表
#endregion
#region 构造函数
/// <summary>
/// 构造函数,定义WCF事件及初始化变量
/// </summary>
/// <param name="strBorrowApplyID">个人费用申请ID,添加为空</param>
/// <param name="FormTypesAction">操作类型:添加、修改、查看、审核、重新提交</param>
public BorrowAppForm(FormTypes ActionType, string strBorrowApplyID)
{
CheckConverter();
InitializeComponent();
this.types = ActionType;
borID = strBorrowApplyID;
this.FormTypesAction = ActionType;
this.Loaded += (sender, args) =>
{
BorrowAppForm_Loaded(sender, args);
WcfRegister();//Wcf事件注册
};
//ctrFile.SystemName = "FB";
//ctrFile.ModelName = "BorrowApp";
//ctrFile.EntityEditor = this;
//if (FormTypesAction == FormTypes.Audit || FormTypesAction == FormTypes.Browse)
//{
// ctrFile.FileState = SMT.SaaS.FrameworkUI.FileUpload.Constants.FileStates.FileBrowse;
// ctrFile.InitBtn(Visibility.Collapsed, Visibility.Collapsed);
// ctrFile.Load_fileData(borID, this);
//}
//else
//{
// ctrFile.InitBtn(Visibility.Visible, Visibility.Collapsed);
// if (!string.IsNullOrEmpty(borID))
// {
// ctrFile.Load_fileData(borID, this);
// }
//}
}
示例10: PostDictionaryForms
/// <summary>
/// 构造函数
/// </summary>
/// <param name="type"></param>
/// <param name="postID"></param>
public PostDictionaryForms(FormTypes type, string postID)
{
InitializeComponent();
FormType = type;
postdictionaryid = postID;
InitParas(postID);
}
示例11: Payment
public Payment(FormTypes type, string ID)
{
InitializeComponent();
GetEntityLogo("T_HR_EMPLOYEESALARYRECORD");
InitPara();
msgCloseID = ID;
}
示例12: EmployeeSurvey_add
public EmployeeSurvey_add(FormTypes type)
{
InitializeComponent();
this.types = type;
this.Loaded += new RoutedEventHandler(EmployeeSurvey_add_Loaded);
}
示例13: client_EditRequireresultCompleted
void client_EditRequireresultCompleted(object sender, EditRequireresultCompletedEventArgs e)
{
try
{
if (e.Error == null)
{
if (e.Result)
{
ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "成功", " 保存成功", MessageIcon.Error);
actionType = FormTypes.Edit;
EntityBrowser entBrowser = this.FindParentByType<EntityBrowser>();
entBrowser.FormType = FormTypes.Edit;
RefreshUI(RefreshedTypes.AuditInfo);
RefreshUI(RefreshedTypes.All);
}
else
{
ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "失败", "保存失败", MessageIcon.Error);
}
}
else
{
ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "失败", "保存失败", MessageIcon.Error);
}
}
catch (Exception ex)
{
ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "失败", "保存失败", MessageIcon.Error);
}
loadbar.Stop();
}
示例14: JoinSurveyingForm
public JoinSurveyingForm(FormTypes actionTypes, string requireID)
{
InitializeComponent();
this.requireID = requireID;
this.actionTypes = actionTypes;
InitEvent();
}
示例15: ApprovalForm_aud
bool isAuditing = false;//用于重提提交后判断页面状态
#endregion
#region 构造函数
/// <summary>
/// 无参构造函数,供平台中待办新建调用
/// </summary>
public ApprovalForm_aud()
{
InitializeComponent();
operationType = FormTypes.New;
approvalid = "";
this.Loaded += new RoutedEventHandler(ApprovalForm_aud_Loaded);
}