示例#1
0
 public iMonTestDriver()
 {
     InitializeComponent();
     imon = new iMon();
     txtRefreshRate.Text = Properties.Settings.Default.VfdRefreshRate.ToString();
     txtScrollDelay.Text = Properties.Settings.Default.VfdScrollDelay.ToString();
 }
示例#2
0
        public iMonMenu()
        {
            InitializeComponent();

            imon = new iMon();
            imon.initialise();
            imon.setRefreshRate(100);
            imon.setScrollDelay(5000);
            refreshScreen();

            tmrFormRefreshRate.Interval = 100;
            tmrFormRefreshRate.Enabled  = true;
        }
示例#3
0
        private void init(string textLine, bool swapAfterEveryCycle)
        {
            InitializeComponent();

            this.ShowInTaskbar = false;
            notifyIcon.Visible = true;
            this.WindowState   = FormWindowState.Minimized;

            imon = new iMon();
            imon.initialise();
            imon.setRefreshRate(refreshRate);
            imon.setScrollDelay(scrollDelay);
            imon.setText(textLine, swapAfterEveryCycle);

            tmrFormRefreshRate.Interval = refreshRate;
            tmrFormRefreshRate.Enabled  = true;
        }
        public KodiMediaInfo()
        {
            InitializeComponent();

            this.ShowInTaskbar = false;
            notifyIcon.Visible = true;
            btnConnect.Enabled = false;
            this.WindowState   = FormWindowState.Minimized;

            imon = new iMon();
            imon.initialise();
            imon.setRefreshRate(imonRefreshRate);
            imon.setScrollDelay(scrollDelay);
            imon.setText("Connecting with", "Kodi...");

            kodi = new Kodi();

            tmrFormRefreshRate.Interval = imonRefreshRate;
            tmrKodiRefreshRate.Interval = kodiRefreshRate;
            tmrFormRefreshRate.Enabled  = true;
            tmrKodiRefreshRate.Enabled  = true;
        }