//Counstructor to Add New Tag Set Template public frmEditTagSetTemplate(SetTagSetInfo set_ts, CheckDuplicateTagSet check, bool edit_flag) { InitializeComponent(); this.isEdit = edit_flag; this.delgSetTagSet = set_ts; this.delgCheckDuplicate = check; }
//Counstructor to Edit Tag Set Template public frmEditTagSetTemplate(SetTagSetInfo set_ts, cls_Tag_Set tag_set, int index) { InitializeComponent(); this.isEdit = true; if (tag_set.TagSetName == "") { this.isCopy = true; } this.tag_set_data = tag_set; this.tag_list = tag_set.tag_set; this.calc_tag_list = tag_set.calc_tag_set; this.tag_set_index = index; this.delgSetTagSet = set_ts; }