Esempio n. 1
0
 public NoteWindow(Engine engine, int ID)
 {
     InitializeComponent();
     this.engine = engine;
     this.ID = ID;
     col = 0;
     grid1.Background = Brushes.Transparent;
 }
Esempio n. 2
0
        void App_Startup(object sender, StartupEventArgs e)
        {
            // Application is running
            // no command line args

            engine = new Engine();
            engine.doStartup();
               // mainWindow.Show();
            NotifyIcon icon = new NotifyIcon();
               icon.Text = "MyNotes";
               icon.Icon = new System.Drawing.Icon("favicon.ico");
               //icon.Icon = new System.Drawing.Icon("/MyNotes;component/Icons/favicon.ico");
               icon.DoubleClick += new System.EventHandler(this.Icon_DoubleClick);
               icon.Visible = true;
               engine.setTrayIco(icon);
        }