Пример #1
0
        public AutoIdControl(AutoIdOptions options)
        {
            InitializeComponent();

            lvZuweisungen.View          = View.Details;
            lvZuweisungen.GridLines     = true;
            lvZuweisungen.FullRowSelect = true;
            //Add column header
            lvZuweisungen.Columns.Add("Von", 90);
            lvZuweisungen.Columns.Add("Nach", 90);
            //Add items in the listview
            string[]     arr = new string[3];
            ListViewItem itm;

            _AutoIdOptions         = options;
            _AutoIdOptions.Form    = this;
            Globs.TheAutoIdOptions = _AutoIdOptions;

            FillComponents();

            InitDocEvents();

            SetLvZuweisungen();
        }
Пример #2
0
 public AutoIdPalette()
 {
     _AutoIdOptions = new AutoIdOptions();
     userControl    = new AutoIdControl(_AutoIdOptions);
 }