コード例 #1
0
 void AddConditionButton_Click(object sender, EventArgs e)
 {
     try
     {
         SearchLayout.SuspendLayout();
         new UISearchCondition(ModuleInfo, this);
         SearchLayout.ResumeLayout();
     }
     catch (Exception ex)
     {
         ParentModule.ShowError(ex);
     }
 }
コード例 #2
0
 public void CreateFixedCondition(ModuleFieldInfo fieldInfo)
 {
     try
     {
         SearchLayout.SuspendLayout();
         var newCondition = new UISearchCondition(ModuleInfo, this);
         newCondition.SetCondition(fieldInfo);
         SearchLayout.ResumeLayout();
         ConditionModule.UpdateConditionQuery();
     }
     catch (Exception ex)
     {
         ParentModule.ShowError(ex);
     }
 }