Exemple #1
0
        public frmSource(MySource source)
        {
            InitializeComponent();

            this.source   = source;
            this.codepage = CodePageConverter.GetCodePage(source.CodePage);

            comboBoxSourceType.Items.AddRange(new string[] { SourceTypeConverter.SourceTypeSection, SourceTypeConverter.SourceTypeString });
            comboBoxSourceType.Text = source.SourceType;
            textBoxEdit.Text        = source.Source;
        }