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

            lbxLogHnd = new mko.Log.WinFormListBoxLogHnd(lbxLog);
            log.registerLogHnd(lbxLogHnd);

            StatusStripLogHnd = new mko.Log.WinFormStatusStripLogHnd(statusStrip1, "toolStripStatusLabel1");
            log.registerLogHnd(StatusStripLogHnd);
        }
Пример #2
0
        //DMS.Bilderscanner scanner;

        public PicBrowserForm()
        {
            InitializeComponent();

            //scanner = new DMS.Bilderscanner(trvPicDir);

            hndLbx = new mko.Log.WinFormListBoxLogHnd(lbxLog);
            log.registerLogHnd(hndLbx);

            hndStatusStrip = new mko.Log.WinFormStatusStripLogHnd(this.statusStrip1, "toolStripStatusLabel1");
            log.registerLogHnd(hndStatusStrip);
        }
Пример #3
0
 // Konstruktion
 public DmsBatchProcessor(List <mko.Log.ILogHnd> allLogHandler)
     : base(_log, new DmsWorker(_log))
 {
     _allLogHandler = allLogHandler;
     foreach (mko.Log.ILogHnd hnd in _allLogHandler)
     {
         _log.registerLogHnd(hnd);
     }
 }
        public MainWindow()
        {
            InitializeComponent();

            var hnd = new WpfLbxLogHnd(lbxLog);

            log.registerLogHnd(hnd);

            mvvmCollector = ((AsteroidsCollectorMVVM)FindResource("Collector"));
            mvvmRepo      = ((AsteroidsRepoMVVM)FindResource("Repo"));
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            log = new mko.Log.LogServer();

            var refMaster = (GBLWeb.DMSMaster)Master;

            refMaster.StatusLabel.Text = "HAllo, es ist " + DateTime.Now.ToLongTimeString() + " Uhr";


            log.registerLogHnd(refMaster.StatusLabel);
        }
Пример #6
0
        public MainForm()
        {
            InitializeComponent();

            var lbxHnd = new mko.Log.WinFormListBoxLogHnd(lbxLog);

            log.registerLogHnd(lbxHnd);

            //var lbxLbl = new mko.Log.WinFormStatusStripLogHnd(statusStrip1);

            log.Log(mko.Log.RC.CreateStatus("Initialisierung beendet"));

            EnableTbx(false);
            EnableGrpSort(false);
            btnGetSortOrderBuilder.Enabled = false;
            btnGetResult.Enabled           = false;
        }
Пример #7
0
        public Form1()
        {
            InitializeComponent();

            log.registerLogHnd(new mko.Log.WinFormListBoxLogHnd(lbxLog));
        }
Пример #8
0
 protected void Page_Load(object sender, EventArgs e)
 {
     log.registerLogHnd(Master.StatusLabel);
     sessVar = mkoIt.Asp.PageState <WebDms2.FileTabSessionVar> .Create(Session);
 }