Esempio n. 1
0
 private void FrmAboutme_Load(object sender, EventArgs e)
 {
     GoobizFrame.Profile.Config config = new GoobizFrame.Profile.Config(@"Resources\HostConfiguration.config");
     config.GroupName           = "HostConfiguration";
     panelControl1.ContentImage = Image.FromFile("" + config.GetValue("Theme", "SplashBitmap"));
     this.Text = "" + config.GetValue("Theme", "ProductTitle");
 }
Esempio n. 2
0
        public FrmUpdate()
        {
            InitializeComponent();
            this.Opacity       = 0;
            this.ShowInTaskbar = false;
            //notifyIcon1 icon
            config.GroupName = "HostConfiguration";
            Icon ico = new Icon("" + config.GetValue("Theme", "ProductIcon"));

            notifyIcon1.Icon = ico;
        }
Esempio n. 3
0
 private void AutoUpdate()
 {
     try
     {
         autoUpdater             = new SunLine.Conversive.AutoUpdater();
         config.GroupName        = "HostConfiguration";
         autoUpdater.ConfigURL   = "" + config.GetValue("AutoUpdate", "AutoUpdateConfigURL");
         autoUpdater.RestartForm = new Conversive.Confirm();
         autoUpdater.TryUpdate();
     }
     catch (Exception ex)
     {
         //GoobizFrame.Windows.Forms.MessageDialog.Show(ex.Message, ex.StackTrace, "Exception", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }