Ejemplo n.º 1
0
        private void generatePackButton_Click(object sender, RoutedEventArgs e)
        {
            GadgetItemOnline item = this.appListBox.SelectedItem as GadgetItemOnline;

            if (item == null)
            {
                return;
            }

            string thumbnail = System.IO.Path.GetDirectoryName(item.DllFile);

            thumbnail = System.IO.Path.Combine(thumbnail, @"AppLogos\");
            if (!Directory.Exists(thumbnail))
            {
                Directory.CreateDirectory(thumbnail);
            }
            thumbnail += item.Id;
            thumbnail += System.IO.Path.GetExtension(item.Thumbnail);

            CreatePackWindow form = new CreatePackWindow();

            form.ShowDialog();
        }
Ejemplo n.º 2
0
        private void createPackButton_Click(object sender, RoutedEventArgs e)
        {
            CreatePackWindow wnd = new CreatePackWindow();

            wnd.Show();
        }