Esempio n. 1
0
        public MainFrame()
        {
            InitializeComponent();

            pictureBox   = new PictureBox[4];
            fileLocation = new List <string>();

            maxId     = null;
            isLoading = false;
            religious = Religious.Sanct;

            mentionFrameList = new List <MentionFrame>();

            labelTimer          = new DispatcherTimer();
            labelTimer.Interval = TimeSpan.FromMilliseconds(10);
            labelTimer.Tick    += new EventHandler(MoveTitleLabel);

            //Bitmap bmp = new Bitmap(Properties.Resources.AsamaMain);
            //Color transColor = bmp.GetPixel(0, 0);
            //BackColor = transColor;
            //TransparencyKey = transColor;
            //bmp.MakeTransparent(transColor);
            //BackgroundImage = bmp;
        }
Esempio n. 2
0
 private void ChangeTheme(Religious religious)
 {
     this.ChangeTheme((int)religious);
 }