Exemplo n.º 1
0
        private FormSplash()
        {
            ShowInTaskbar = false;

            InitializeComponent();

            SetFont();
            _NO_TRANSLATE_programTitle.Font = new Font(SystemFonts.MessageBoxFont, FontStyle.Bold);

            var image = Lemmings.GetPictureBoxImage(DateTime.Now);

            pictureBox1.Image = image ?? Properties.Resources.git_extensions_logo_final_128;
        }
Exemplo n.º 2
0
        private void AboutBox_Load(object sender, EventArgs e)
        {
            Bitmap image = Lemmings.GetPictureBoxImage(DateTime.Now);

            if (image != null)
            {
                logoPictureBox.Image = image;
            }

            thanksTimer_Tick(null, null);
            thanksTimer.Enabled  = true;
            thanksTimer.Interval = 500;
            thanksTimer.Start();
        }
Exemplo n.º 3
0
        private FormSplash()
        {
            ShowInTaskbar = false;

            InitializeComponent();

            SetFont();
            _NO_TRANSLATE_programTitle.Font = new Font(SystemFonts.MessageBoxFont, FontStyle.Bold);

            var image = Lemmings.GetPictureBoxImage(DateTime.Now);

            if (image != null)
            {
                pictureBox1.Image = image;
            }
        }
Exemplo n.º 4
0
        public Dashboard()
        {
            InitializeComponent();
            Translate();

            RecentRepositories.DashboardItemClick += dashboardItem_Click;
            RecentRepositories.RepositoryRemoved  += RecentRepositories_RepositoryRemoved;
            RecentRepositories.DisableContextMenu();
            RecentRepositories.DashboardCategoryChanged += dashboardCategory_DashboardCategoryChanged;
            //Repositories.RepositoryCategories.ListChanged += new ListChangedEventHandler(RepositoryCategories_ListChanged);

            Bitmap image = Lemmings.GetPictureBoxImage(DateTime.Now);

            if (image != null)
            {
                pictureBox1.Image = image;
            }

            Load += Dashboard_Load;
        }
Exemplo n.º 5
0
        public Dashboard()
        {
            InitializeComponent();
            Translate();

            RecentRepositories.DashboardItemClick += dashboardItem_Click;
            RecentRepositories.RepositoryRemoved  += RecentRepositories_RepositoryRemoved;
            RecentRepositories.DisableContextMenu();
            RecentRepositories.DashboardCategoryChanged += dashboardCategory_DashboardCategoryChanged;
            //Repositories.RepositoryCategories.ListChanged += new ListChangedEventHandler(RepositoryCategories_ListChanged);

            Bitmap image = Lemmings.GetPictureBoxImage(DateTime.Now);

            if (image != null)
            {
                pictureBox1.Image = image;
            }

            // Do this at runtime, because it is difficult to keep consistent at design time.
            pictureBox1.BringToFront();
            pictureBox1.Location = new Point(this.Width - pictureBox1.Image.Width - 10, this.Height - pictureBox1.Image.Height - 10);

            Load += Dashboard_Load;
        }