Exemplo n.º 1
0
        private void FrmSettings_Load(object sender, EventArgs e)
        {
            Util            u = new Util();
            DownloadPicture d = new DownloadPicture();

            string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"ui\github_attr.txt");

            txtReadME.AppendText(u.getString(u.getOnlineFile("https://raw.githubusercontent.com/Reapism/Skork/master/README.md")));
            picAbout.BackgroundImage = Properties.Resources.skork;
            this.Icon = Properties.Resources.skork_icon;
        }
Exemplo n.º 2
0
        private void AddToLoad()
        {
            Util            u = new Util();
            DownloadPicture d = new DownloadPicture();

            string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"ui\github_attr.txt");

            txtReadME.AppendText(u.GetString(u.GetOnlineFile("https://raw.githubusercontent.com/Reapism/Skork/master/README.md")));
            picAbout.BackgroundImage = Properties.Resources.skork;
            this.Icon = Properties.Resources.skork_icon;
            this.Text = this.tMain.SelectedTab.Text + " - Settings";
            DrawSettings(0);
        }