Ejemplo n.º 1
0
 private void showSelected_Click(object sender, EventArgs e)
 {
     if (listView1.CheckedItems == null)
     {
         return;
     }
     foreach (ListViewItem litm in listView1.CheckedItems)
     {
         MainForm form = (MainForm)litm.Tag;
         form.Show();
         Component1.SetForegroundWindow(form.Handle);
     }
     LoadAllNotes();
 }
Ejemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            EmptySlots = new Queue <int>();
            Themes     = new List <Theme>();
            LoadThemes();
            Styles = new List <Style>();
            LoadStyles();
            components = new Component1();
            components.SetIconVisible();
            LoadAllNotes();

            Application.Run();
            if (REGISTRY.FirstRun)
            {
                REGISTRY.StartWithWindows = true;
            }
        }