Пример #1
0
        public ModuleSelectFrm()
        {
            InitializeComponent();

            _parser = new XMLParser();     // maybe parser already initalized in MainFrm?!
            this.cmBoxModules.DataSource = _parser.getAllModules("001_UHH"); // has to be "dynamic"

            showData();
        }
Пример #2
0
        public MainFrm()
        {
            InitializeComponent();

            this._dHelper = new DrawHelper();
            this._xParser = new XMLParser();

            // Set the embedded icon
            this.Icon = Properties.Resources.Icon;
            this.trayIcon.Icon = Properties.Resources.Icon;

            this._dHelper.SelectedEventChanged += new EventHandler(_dHelper_SelectedEventChanged);
        }