private void mnuBool_Click(object sender, EventArgs e) { IDataRule aBool = BuildRules.InitializeBase(FieldTypes.Bool, false, "NA", "NA", false); aBool.Description = "Bool-1"; AddRule(aBool); }
private void guidToolStripMenuItem_Click(object sender, EventArgs e) { IDataRule aGuid = BuildRules.InitializeBase(FieldTypes.GUID, false, "NA", "NA", false); aGuid.Description = "Guid-1"; AddRule(aGuid); }
protected void InitializeCommonRule() { Properties.Result = BuildRules.InitializeBase(Properties.GeneralType, Properties.Random, Properties.FieldDisplay, Properties.TypeDisplay, false); Properties.Result.Description = Properties.Description; }