Ejemplo n.º 1
0
        private void listApps_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (listApps.SelectedIndex > -1)
            {
                ModifyForm f = new ModifyForm(listApps.SelectedIndex, this);
                f.ShowDialog();

                SaveAppsStructure();
                LoadAppsStructure();
                LoadAppsList();
                BuildLauncherMenu();
            }
        }
Ejemplo n.º 2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (listApps.SelectedIndex > -1)
            {
                int        i = listApps.SelectedIndex;
                ModifyForm f = new ModifyForm(listApps.SelectedIndex, this);
                f.ShowDialog(this);

                SaveAppsStructure();
                LoadAppsStructure();
                LoadAppsList();
                BuildLauncherMenu();

                listApps.SelectedIndex = i;
            }
        }