Пример #1
0
 public Display(RadioStation station)
 {
     Lines.Add(" " + battery);
     Lines.Add("111111111111111111111111111");
     Lines.Add("line3");
     Lines.Add("line4🥺");
     radioStation = station;
 }
Пример #2
0
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            Owner.Visible = true;

            switcher.InitToOff();

            WidgetInit.widgetContainer.Clear();
            radioStation  = null;
            currentWidget = null;
        }
Пример #3
0
        public Form1(FileInfo fLesson)
        {
            InitializeComponent();
            Form1.currObject = this;
            SetStyle(ControlStyles.SupportsTransparentBackColor, true);
            switcher.InitToOff();
            displayFonts.AddFontFile(@"fonts\pixelmix.ttf");

            radioStation  = new RadioStation(switcher);
            currentWidget = WidgetInit.InitDefaultWidgets(radioStation);

            WidgetTextToRichText(currentWidget);
            timer1.Interval         = 500;
            timerAnimation.Interval = 1000;
            fileLesson            = fLesson;
            richDispley.BackColor = displayColor;
        }