Exemplo n.º 1
0
        public NeighborhoodForm()
        {
            InitializeComponent();

            tm = ThemeManager.Global.CreateChild();
            tm.AddControl(pnBackup);
            tm.AddControl(pnOptions);
        }
Exemplo n.º 2
0
        public NgbhItemsListView()
        {
            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();

            SmallImageList            = new ImageList();
            SmallImageList.ImageSize  = new Size(NgbhItem.ICON_SIZE, NgbhItem.ICON_SIZE);
            SmallImageList.ColorDepth = ColorDepth.Depth32Bit;

            lv.SelectedIndexChanged += new EventHandler(lv_SelectedIndexChanged);

            SlotType = Data.NeighborhoodSlots.Sims;

            tm = ThemeManager.Global.CreateChild();
            tm.AddControl(menu);
            InitTheo();
        }
Exemplo n.º 3
0
        public BnfoUI()
        {
            // Dieser Aufruf ist für den Windows Form-Designer erforderlich.
            InitializeComponent();

            toolBar1.Renderer = new SimPe.MediaPlayerRenderer();

            ThemeManager.AddControl(this.toolBar1);
        }
Exemplo n.º 4
0
        public PackageRepairForm()
        {
            //
            // Erforderlich für die Windows Form-Designerunterstützung
            //
            InitializeComponent();

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

            Setup(null);
        }
Exemplo n.º 5
0
        public ResourceDock()
        {
            //
            // Erforderlich für die Windows Form-Designerunterstützung
            //
            InitializeComponent();

            ThemeManager tm = ThemeManager.Global.CreateChild();

            tm.AddControl(this.xpGradientPanel1);
            tm.AddControl(this.xpGradientPanel2);
            tm.AddControl(this.xpGradientPanel3);
            tm.AddControl(this.xpGradientPanel4);

            this.lv.View = System.Windows.Forms.View.Details;
            foreach (SimPe.Data.TypeAlias a in SimPe.Helper.TGILoader.FileTypes)
            {
                cbtypes.Items.Add(a);
            }
            cbtypes.Sorted = true;
            tbFloat.Width  = tbBin.Width;
        }
Exemplo n.º 6
0
        public FamilyTiesForm()
        {
            //
            // Erforderlich für die Windows Form-Designerunterstützung
            //
            InitializeComponent();

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

            tc.AddControl(this.pnfamt);
            tc.AddControl(this.panel2);
            tc.AddControl(this.pool);
            tc.AddControl(this.xpGradientPanel1);
            tc.AddControl(this.miAddTie);

            ties.Parent = null;
            ties.Parent = this.panel1;

            this.cbrel.Enum            = typeof(Data.MetaData.FamilyTieTypes);
            this.cbrel.ResourceManager = Localization.Manager;
            //Data.MetaData.FamilyTieTypes[] ns = (Data.MetaData.FamilyTieTypes[])System.Enum.GetValues(typeof(Data.MetaData.FamilyTieTypes));
            //foreach (Data.MetaData.FamilyTieTypes n in ns) this.cbrel.Items.Add((Data.LocalizedFamilyTieTypes)n);
        }
Exemplo n.º 7
0
        public ExtNgbhUI()
        {
            // Dieser Aufruf ist für den Windows Form-Designer erforderlich.
            InitializeComponent();

            toolBar1.Renderer = new SimPe.MediaPlayerRenderer();

            ThemeManager.AddControl(this.toolBar1);
            ThemeManager.AddControl(this.menu);

            biSim.Tag   = pnSims;
            biDebug.Tag = pnDebug;
            biBadge.Tag = pnBadge;


            biDebug.Visible = Helper.WindowsRegistry.HiddenMode;
            this.SelectButton(biSim);

            biBadge.Enabled = SimPe.PathProvider.Global.EPInstalled >= 3;

            SimPe.RemoteControl.HookToMessageQueue(0x4E474248, new SimPe.RemoteControl.ControlEvent(ControlEvent));
        }