Example #1
0
        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            BGBuilder builder = new StandartBuilder();

            builder.BuildStandarTheme();
            builder.SetBG(canv);
            Resource.bg = builder.GetResult();
        }
Example #2
0
        public Login()
        {
            InitializeComponent();

            StandartBuilder builder = new StandartBuilder();

            builder.BuildStandarTheme();
            Resource.bg = builder.GetResult();

            #region service
            MyNotifyIcon                   = new System.Windows.Forms.NotifyIcon();
            MyNotifyIcon.Icon              = new System.Drawing.Icon("Pusheen_Love.ico");
            MyNotifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(MyNotifyIcon_MouseDoubleClick);
            #endregion
        }