Beispiel #1
0
        public Config(MainForm src)
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //
            Host=src;
        }
Beispiel #2
0
        public ucStore(MainForm Host)
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //
            MainF=Host;
        }
Beispiel #3
0
        public Playlist(IPlayEngine Engine,String ID,MainForm host)
        {
            this.Host=host;
            this.Engine=Engine;
                //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();
            this.ID=ID;
            Thread D = new Thread(RetrieveData);
            D.Start();
            timer1.Start();

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //
        }
Beispiel #4
0
        public Settings(MainForm src)
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //
            Host=src;
            this.BackColor = MainForm.ListBackground();
            checkBox1.Checked = MainForm.Dark;
            checkBox2.Checked = MainForm.alternating;
            checkBox3.Checked = MainForm.PlaylistColors;
            checkBox4.Checked = MainForm.FadeOddEntries;
        }
Beispiel #5
0
 public static void Colorize(MainForm d,Color C)
 {
     MainForm.PrimaryColor=C;
     d.Colorize();
 }