Exemple #1
0
        public PackView()
        {
            InitializeComponent();
            this.MinimizeBox           = Program.SHOWMINIMIZEBUTTON;
            _smallImageList.ColorDepth = ColorDepth.Depth32Bit;
            _largeImageList.ColorDepth = ColorDepth.Depth32Bit;

            _smallImageList.ImageSize = new System.Drawing.Size(16, 16);
            _largeImageList.ImageSize = new System.Drawing.Size(32, 32);

            _iconListManager        = new IconListManager(_smallImageList, _largeImageList);
            FileList.SmallImageList = _smallImageList;
            FileList.LargeImageList = _largeImageList;
            pictureBox1.AllowDrop   = true;
            Instance = this;
            JToolTip tool = new JToolTip();

            tool.SetToolTip(pictureBox1, "Open pck.");
            tool.SetToolTip(SavePackBox, "Save Changes.");
            tool.SetToolTip(RewritePackBox, "Rewrite PCK From Disk or into memory.");
            tool.SetToolTip(pictureBox2, "Unpack pck.");
            tool.SetToolTip(jPictureBox1, "Create new pck from files");
        }
Exemple #2
0
 void Start()
 {
     jtooltip = GameObject.Find("Journal").GetComponent <JToolTip>();
 }