コード例 #1
0
ファイル: UCCountryList2.cs プロジェクト: 5509850/baumax
        public void FireEditEntity(Domain.Country c)
        {
            if (ReadOnly)
            {
                return;
            }
            if (FocusedEntity == null && c == null)
            {
                return;
            }

            using (FormCountryEdit edit = new FormCountryEdit(FocusedEntity))
            {
                edit.ShowDialog();
                return;
            }
        }
コード例 #2
0
ファイル: UCCountryList2.cs プロジェクト: 5509850/baumax
        public void FireEditEntity(Domain.Country c)
        {
            if (ReadOnly) return;
            if (FocusedEntity == null && c == null) return;

            using (FormCountryEdit edit = new FormCountryEdit(FocusedEntity))
            {
                edit.ShowDialog();
                return;
            }
            
        }