/// ------------------------------------------------------------------------------------ public DefineDistinctiveFeatureClassDlgBase(ClassListViewItem classInfo, ClassesDlg classDlg) : base(classInfo ?? new ClassListViewItem { ClassType = SearchClassType.Binary }, classDlg, new DistinctiveFeatureListView(), App.BFeatureCache.GetEmptyMask()) { InitializeComponent(); }
/// ------------------------------------------------------------------------------------ public DefineDescriptiveFeatureClassDlg(ClassListViewItem classInfo, ClassesDlg classDlg) : base(classInfo ?? new ClassListViewItem { ClassType = SearchClassType.Articulatory }, classDlg, new DescriptiveFeatureListView(), App.AFeatureCache.GetEmptyMask()) { InitializeComponent(); _lvFeatures.EmphasizeCheckedItems = true; }
/// ------------------------------------------------------------------------------------ public DefinePhoneClassDlg(ClassListViewItem classInfo, ClassesDlg classDlg) : base(classInfo ?? new ClassListViewItem { ClassType = SearchClassType.Phones }, classDlg) { InitializeComponent(); IinitializeCharExplorer(); _textBoxMembers.ReadOnly = false; _textBoxMembers.Font = FontHelper.MakeRegularFontDerivative(App.PhoneticFont, 16); }
/// ------------------------------------------------------------------------------------ public DefineClassBaseDlg(ClassListViewItem classInfo, ClassesDlg classDlg) : this() { m_classesDlg = classDlg; m_origClassInfo = classInfo; m_classInfo = new ClassListViewItem(classInfo); m_classInfo.IsDirty = false; _textBoxClassName.Text = m_classInfo.Text; _textBoxMembers.Text = m_classInfo.FormattedMembersString; _textBoxMembers.SelectionStart = _textBoxMembers.Text.Length + 1; }
/// ------------------------------------------------------------------------------------ public DefineFeatureClassDlgBase(ClassListViewItem classInfo, ClassesDlg classDlg, FeatureListViewBase lvFeatures, FeatureMask emptyMask) : base(classInfo ?? new ClassListViewItem { ClassType = SearchClassType.Articulatory }, classDlg) { _lvFeatures = lvFeatures; _lvFeatures.Load(); _lvFeatures.Dock = DockStyle.Fill; _lvFeatures.Visible = true; _lvFeatures.LabelEdit = false; _lvFeatures.FeatureChanged += HandleFeatureChanged; _lvFeatures.TabIndex = _textBoxClassName.TabIndex + 1; _lvFeatures.CurrentMask = (m_classInfo.Mask ?? emptyMask); SetupPhoneViewers(); SetupSplitters(); SetupRadioButtons(); UpdateCharacterViewers(); }