示例#1
0
        public FinderDock()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            tm = SimPe.ThemeManager.Global.CreateChild();
            tm.AddControl(this.xpGradientPanel1);

            tm.AddControl(this.tbResult);
            tm.AddControl(this.toolBar1);



            sorter = new ColumnSorter();
            sorter.CurrentColumn  = 0;
            lv.ListViewItemSorter = sorter;

            lv.View = SteepValley.Windows.Forms.ExtendedView.Details;

            packages = new System.Collections.Generic.List <string>();
            threads  = new System.Threading.Thread[Helper.WindowsRegistry.SortProcessCount / 2];

            runningthreads = 0;
            CreateThreads(false);

            foreach (SimPe.Interfaces.AFinderTool tl in Finder.FinderToolRegistry.Global.CreateToolInstances(this))
            {
                this.cbTask.Items.Add(tl);
            }
            if (cbTask.Items.Count > 0)
            {
                this.cbTask.SelectedIndex = 0;
            }
        }
示例#2
0
        public fAnimResourceConst()
        {
            //
            // Erforderlich für die Windows Form-Designerunterstützung
            //
            InitializeComponent();

            llTxt.Visible = Helper.WindowsRegistry.HiddenMode;

            SimPe.ThemeManager tm = SimPe.ThemeManager.Global.CreateChild();

            //
            // ambc
            //
            this.ambc            = new AnimMeshBlockControl();
            this.ambc.BackColor  = System.Drawing.Color.Transparent;
            this.ambc.Dock       = System.Windows.Forms.DockStyle.Fill;
            this.ambc.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.ambc.Location   = new System.Drawing.Point(8, 8);
            this.ambc.MeshBlock  = null;
            this.ambc.MeshBlocks = null;
            this.ambc.Name       = "ambc";
            this.ambc.Size       = new System.Drawing.Size(776, 246);
            this.ambc.TabIndex   = 1;
            this.ambc.Changed   += new System.EventHandler(this.ambc_Changed);
            this.tMesh.Controls.Add(this.ambc);
        }
示例#3
0
        public DebugDock()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            tm = SimPe.ThemeManager.Global.CreateChild();
            tm.AddControl(this.xpGradientPanel1);
        }
示例#4
0
        protected AFinderTool(IFinderResultGui rgui) : base()
        {
            this.rgui = rgui;
            InitializeComponent();
            tm = ThemeManager.Global.CreateChild();
            tm.AddControl(this.grp);

            btStart.Enabled = rgui != null;
        }
示例#5
0
        public StringsForm()
        {
            //
            // Erforderlich für die Windows Form-Designerunterstützung
            //
            InitializeComponent();

            tm = SimPe.ThemeManager.Global.CreateChild();
            tm.AddControl(this.xpGradientPanel1);

            this.tbDate.Text = DateTime.Now.ToString();
        }
示例#6
0
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         tm.RemoveControl(this.xpGradientPanel1);
         tm = null;
         if (components != null)
         {
             components.Dispose();
         }
     }
     base.Dispose(disposing);
 }
示例#7
0
        public ImportJointAnim()
        {
            //
            // Erforderlich für die Windows Form-Designerunterstützung
            //
            InitializeComponent();

            SimPe.ThemeManager tm = SimPe.ThemeManager.Global.CreateChild();
            tm.AddControl(this.xpGradientPanel1);
            tm.AddControl(this.gbgroups);

            this.cbaction.Items.Add(AnimImporterAction.Nothing);
            this.cbaction.Items.Add(AnimImporterAction.Add);
            this.cbaction.Items.Add(AnimImporterAction.Replace);
        }
示例#8
0
        GenericImportForm()
        {
            //
            // Erforderlich für die Windows Form-Designerunterstützung
            //
            InitializeComponent();

            tm = ThemeManager.Global.CreateChild();
            tm.AddControl(this.xpGradientPanel1);

            ComboBox cb = new ComboBox();

            this.imageList1.ImageSize = new Size(1, cb.Height + 2);
            cb.Dispose();
        }
示例#9
0
        AnimPreview()
        {
            //
            // Erforderlich für die Windows Form-Designerunterstützung
            //
            InitializeComponent();

            tm = SimPe.ThemeManager.Global.CreateChild();
            tm.AddControl(this.xpGradientPanel1);

            dx        = new Ambertation.Graphics.DirectXPanel();
            dx.Parent = this.panel1;
            dx.Dock   = DockStyle.Fill;

            dx.ResetDevice += new EventHandler(dx_ResetDevice);
        }
示例#10
0
        /// <summary>
        /// Die verwendeten Ressourcen bereinigen.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (tm != null)
                {
                    tm.Clear();
                    tm = null;
                }

                if (components != null)
                {
                    components.Dispose();
                }
            }
            base.Dispose(disposing);
        }
示例#11
0
        public FileTableItemForm()
        {
            //
            // Erforderlich für die Windows Form-Designerunterstützung
            //
            InitializeComponent();

            tm = SimPe.ThemeManager.Global.CreateChild();
            tm.AddControl(this.xpGradientPanel1);

            ofd.Filter = SimPe.ExtensionProvider.BuildFilterString(new SimPe.ExtensionType[] { SimPe.ExtensionType.Package, SimPe.ExtensionType.AllFiles });

            this.cbEpVer.Items.Clear();
            cbEpVer.Items.Add(SimPe.Localization.GetString("All"));
            foreach (ExpansionItem ei in PathProvider.Global.Expansions)
            {
                cbEpVer.Items.Add(ei.Name);
            }
        }
示例#12
0
        public NgbhSkillHelper()
        {
            SetStyle(
                ControlStyles.SupportsTransparentBackColor |
                ControlStyles.AllPaintingInWmPaint |
                //ControlStyles.Opaque |
                ControlStyles.UserPaint |
                ControlStyles.ResizeRedraw
                | ControlStyles.DoubleBuffer
                , true);
            // Dieser Aufruf ist für den Windows Form-Designer erforderlich.
            InitializeComponent();

            try
            {
                tm = SimPe.ThemeManager.Global.CreateChild();
                tm.AddControl(this.xpBadges);
                tm.AddControl(this.xpSkills);

                this.xpBadges.Visible = SimPe.PathProvider.Global.EPInstalled >= 3;
                SetContent();
            }
            catch {}
        }