Exemplo n.º 1
0
        public SleekInstance(bool firstInstance)
        {
            this.firstInstance = firstInstance;

            client = new SecondLife();
            client.Settings.ALWAYS_REQUEST_OBJECTS = true;
            client.Settings.ALWAYS_DECODE_OBJECTS = true;
            client.Settings.OBJECT_TRACKING = true;
            client.Settings.ENABLE_SIMSTATS = true;
            client.Settings.FETCH_MISSING_INVENTORY = true;
            client.Settings.MULTIPLE_SIMS = true;
            client.Settings.SEND_AGENT_THROTTLE = true;
            client.Settings.SEND_AGENT_UPDATES = true;

            netcom = new SLNetCom(client);

            imageCache = new ImageCache();
            state = new StateManager(this);
            InitializeConfig();

            mainForm = new frmMain(this);
            mainForm.InitializeControls();
            tabsConsole = mainForm.TabConsole;

            Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
        }
Exemplo n.º 2
0
        public SearchConsole(SleekInstance instance)
        {
            InitializeComponent();

            this.instance = instance;
            netcom = this.instance.Netcom;
            client = this.instance.Client;
            AddClientEvents();

            tabConsole = this.instance.TabConsole;

            console = new FindPeopleConsole(instance, LLUUID.Random());
            console.Dock = DockStyle.Fill;
            console.SelectedIndexChanged += new EventHandler(console_SelectedIndexChanged);
            pnlFindPeople.Controls.Add(console);
        }
Exemplo n.º 3
0
 private void InitializeTabsConsole()
 {
     tabsConsole = new TabsConsole(instance);
     tabsConsole.Dock = DockStyle.Fill;
     toolStripContainer1.ContentPanel.Controls.Add(tabsConsole);
 }
Exemplo n.º 4
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     tabConsole = instance.TabConsole;
 }