示例#1
0
 public GPDViewer(GameGPD xin, string file, MainForm parent)
 {
     InitializeComponent();
     xparent = parent;
     xfile = file;
     set(xin);
 }
示例#2
0
 public PackageExplorer(MainForm xParent)
 {
     CheckForIllegalCrossThreadCalls = false;
     InitializeComponent();
     this.MdiParent = xParent;
     xMForm = xParent;
 }
示例#3
0
 public FATXBrowser(FATXDrive xDriveIn, string file, MainForm parent)
 {
     InitializeComponent();
     CheckForIllegalCrossThreadCalls = false;
     xDrive = xDriveIn;
     xthisfile = file;
     xparent = parent;
     setdrive();
 }
示例#4
0
 public FATXViewer(FATXDrive drivein, string filein, MainForm par)
 {
     InitializeComponent();
     node1.Text = drivein.DriveName;
     if (drivein.IsDriveIO)
         createDiskImageToolStripMenuItem.Enabled = restoreImageToolStripMenuItem.Enabled = false;
     xDrive = drivein;
     xthisfile = filein;
     xparent = par;
     set();
 }
示例#5
0
 public MusicView(MainForm xparent, string sfile, MusicFile mfile)
 {
     InitializeComponent();
     parent = xparent;
     xfile = mfile;
     file = sfile;
     textBoxX1.Text = mfile.Genre;
     textBoxX2.Text = mfile.Artist;
     textBoxX3.Text = mfile.Album;
     textBoxX4.Text = mfile.Song;
 }
示例#6
0
 public Drive_Selector(MainForm xparent)
 {
     InitializeComponent();
     xDrives = new List<FATXDrive>();
     DeviceReturn[] xdrives = FATXManagement.GetFATXDrives(10);
     foreach (DeviceReturn x in xdrives)
     {
         xDrives.Add(new FATXDrive(x));
         listBox1.Items.Add(x.Name + ":" + xDrives[xDrives.Count - 1].Type.ToString() + ":" + xDrives[xDrives.Count - 1].DriveSizeFriendly);
     }
     par = xparent;
 }
示例#7
0
 public HDDGameForm(SVODPackage x, string file, MainForm parent)
 {
     xGame = x;
     InitializeComponent();
     xparent = parent;
     xfile = file;
     List<PackageType> xTypes = new List<PackageType>();
     xTypes.Add(PackageType.OriginalXboxGame);
     xTypes.Add(PackageType.HDDInstalledGame);
     xTypes.Add(PackageType.GamesOnDemand);
     xTypes.Add(PackageType.SocialTitle);
     comboBoxEx1.DataSource = xTypes.ToArray();
     comboBoxEx1.SelectedItem = x.Header.ThisType;
     textBoxX2.Text = "Deviation: 0x" + x.Deviation.ToString("X");
 }
示例#8
0
 public PackageCreatez(MainForm xParent, PackType xThisType)
 {
     this.MdiParent = xParent;
     xparent = xParent;
     InitializeComponent();
     List<PackageType> y = new List<PackageType>();
     if (xThisType == PackType.STFS)
     {
         xsession = new CreateSTFS();
         PackageType[] x = (PackageType[])Enum.GetValues(typeof(PackageType));
         y.AddRange(x);
         y.RemoveAll(new Predicate<PackageType>(ptcheck));
         node1.DataKey = (ushort)0xFFFF;
         node1.NodeClick += new EventHandler(xReturn_NodeClick);
         comboBoxEx1.SelectedIndex = 0;
         comboBoxEx4.DataSource = Enum.GetValues(typeof(SphereColor));
         comboBoxEx4.SelectedIndex = 0;
         comboBoxEx5.DataSource = Enum.GetValues(typeof(DashStyle));
         comboBoxEx5.SelectedIndex = 0;
         numericUpDown4.Value = xsession.ThemeSettings.AvatarLightingAmbient;
         numericUpDown7.Value = xsession.ThemeSettings.AvatarLightingDirectional3;
         numericUpDown8.Value = xsession.ThemeSettings.AvatarLightingDirectional0;
         numericUpDown9.Value = xsession.ThemeSettings.AvatarLightingDirectional1;
         numericUpDown10.Value = xsession.ThemeSettings.AvatarLightingDirectional2;
         advTree1.SelectedIndex = 0;
         tabItem7.Visible = false;
     }
     else
     {
         y.Add(PackageType.OriginalXboxGame);
         y.Add(PackageType.HDDInstalledGame);
         y.Add(PackageType.GamesOnDemand);
         y.Add(PackageType.SocialTitle);
         tabItem6.Visible = false;
         xhead = new HeaderData();
         tabItem5.Visible = false;
         tabItem4.Visible = false;
         comboBoxEx1.Visible = false;
     }
     xtype = xThisType;
     comboBoxEx2.DataSource = y.ToArray();
     comboBoxEx2.SelectedIndex = 0;
     comboBoxEx3.DataSource = Enum.GetValues(typeof(Languages));
     comboBoxEx3.SelectedIndex = 0;
     SetText();
 }
示例#9
0
 public MultiSTFS(MainForm parent)
 {
     InitializeComponent();
     par = parent;
 }