private Hashtable settings = new Hashtable(); //Hashtable for our loaded settings. #endregion Fields #region Constructors public frmLogin() { InitializeComponent(); //Try to load the login settings. prefs = new PrefsManager(); prefs.LoadProfiles(); //Load the profiles to our combobox. string[] profiles = new string[100]; profiles = prefs.profiles; for(int i=0;i<profiles.Length;i++) { if(profiles[i]!=null) { cbxProfiles.Items.Add(profiles[i].ToString()); }else{ //Exit when we hit a null profile. break; } } netcom = new SLNetCom(); MainForm = new frmMain(this,netcom,prefs); this.AddNetcomEvents(); }
//ManualResetEvent CurrentlyWornEvent = new ManualResetEvent(false); public ActionCommandsIn(METAboltInstance instance) { this.instance = instance; client = this.instance.Client; netcom = this.instance.Netcom; tconsole = instance.TabConsole; }
public frmTeleport(METAboltInstance instance, string sSIM, float sX,float sY,float sZ, bool ismaps) { InitializeComponent(); SetExceptionReporter(); Application.ThreadException += new ThreadExceptionHandler().ApplicationThreadException; this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddNetcomEvents(); AddClientEvents(); this.ismaps = ismaps; if (string.IsNullOrEmpty(sSIM)) { SetDefaultValues(); } else { decimal x = (decimal)sX; decimal y = (decimal)sY; decimal z = (decimal)sZ; txtSearchFor.Text = txtRegion.Text = sSIM; nudX.Value = x; nudY.Value = y; nudZ.Value = z; StartRegionSearch(); } }
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); }
public MainConsole(METAboltInstance instance) { InitializeComponent(); SetExceptionReporter(); Application.ThreadException += new ThreadExceptionHandler().ApplicationThreadException; this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddNetcomEvents(); //while (!IsHandleCreated) //{ // // Force handle creation // IntPtr temp = Handle; //} ////btnInfo_Click(); //if (webBrowser == null) // this.InitializeWebBrowser(); this.InitializeWebBrowser(); webBrowser1.Visible = true; //btnInfo.Text = "Hide Grid Status"; label7.Text = "V " + Properties.Resources.METAboltVersion; Disposed += new EventHandler(MainConsole_Disposed); LoadGrids(); InitGridCombo(); cbxLocation.SelectedIndex = 0; InitializeConfig(); }
public IMTextManager(ITextPrinter textPrinter, SLNetCom netcom, PrefsManager preferences) { this.textPrinter = textPrinter; this.netcom = netcom; this.prefs = preferences; this.AddNetcomEvents(); }
public IITabWindow(METAboltInstance instance, InstantMessage e) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; ProcessEventArgs(e); }
public TPTabWindow(SleekInstance instance, InstantMessageEventArgs e) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; ProcessEventArgs(e); }
public InventoryScriptConsole(SleekInstance instance, InventoryItem item) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; this.item = item; }
//private int cnt = 0; public METAbrain(METAboltInstance instance, AIMLbot.Bot myBot) { this.instance = instance; //client = this.instance.Client; netcom = this.instance.Netcom; this.myBot = myBot; answer = new mBrain(); }
public frmDisconnected(SleekInstance instance, ClientDisconnectEventArgs e) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; AddNetcomEvents(); lblMessage.Text = e.Message; }
public frmIMs(SLNetCom netcom, PrefsManager preferences) { InitializeComponent(); this.netcom = netcom; IMTabs = new Dictionary<string, IMTabWindow>(); prefs = preferences; this.AddNetcomEvents(); }
public StateManager(SleekInstance instance) { this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddNetcomEvents(); AddClientEvents(); InitializeAgentUpdateTimer(); }
public frmTPdialogue(METAboltInstance instance) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; netcom.TeleportStatusChanged += new EventHandler<TeleportEventArgs>(netcom_TeleportStatusChanged); InitializeStatusTimer(); }
public frmDebugLog(SleekInstance instance) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddClientEvents(); this.Disposed += new EventHandler(frmDebugLog_Disposed); }
public frmTeleport(SleekInstance instance) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddNetcomEvents(); AddClientEvents(); SetDefaultValues(); }
public FindPeopleConsole(SleekInstance instance, LLUUID queryID) { InitializeComponent(); findPeopleResults = new Dictionary<string, LLUUID>(); this.queryID = queryID; this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddClientEvents(); }
public IMTabWindow(SLNetCom netcom, LLUUID target, LLUUID session, string toName, PrefsManager preferences) { InitializeComponent(); this.netcom = netcom; this.target = target; this.session = session; this.toName = toName; this.prefs = preferences; textManager = new IMTextManager(new RichTextBoxPrinter(rtbIMText), this.netcom, prefs); }
public MainConsole(SleekInstance instance) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; AddNetcomEvents(); cbxLocation.SelectedIndex = 0; InitializeConfig(); this.instance.MainForm.FormClosing += new FormClosingEventHandler(MainForm_FormClosing); }
public ChatTextManager(SleekInstance instance, ITextPrinter textPrinter) { this.textPrinter = textPrinter; this.textBuffer = new List<ChatBufferItem>(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddNetcomEvents(); showTimestamps = this.instance.Config.CurrentConfig.ChatTimestamps; this.instance.Config.ConfigApplied += new EventHandler<ConfigAppliedEventArgs>(Config_ConfigApplied); }
public InventoryItemConsole(SleekInstance instance, InventoryItem item) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; this.item = item; this.Disposed += new EventHandler(InventoryItemConsole_Disposed); AddClientEvents(); FillItemProperties(); }
public IMTextManager(SleekInstance instance, ITextPrinter textPrinter, LLUUID sessionID) { this.sessionID = sessionID; this.textPrinter = textPrinter; this.textBuffer = new ArrayList(); this.instance = instance; netcom = this.instance.Netcom; AddNetcomEvents(); showTimestamps = this.instance.Config.CurrentConfig.IMTimestamps; this.instance.Config.ConfigApplied += new EventHandler<ConfigAppliedEventArgs>(Config_ConfigApplied); }
public TPTabWindow(METAboltInstance instance, InstantMessageEventArgs e) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; Disposed += new EventHandler(TPTabWindow_Disposed); ProcessEventArgs(e); netcom.TeleportStatusChanged += new EventHandler<TeleportEventArgs>(netcom_TeleportStatusChanged); }
public RegionSearchResultItem(SleekInstance instance, GridRegion region, ListBox listBox) { this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; this.region = region; this.listBox = listBox; agentCountWorker = new BackgroundWorker(); agentCountWorker.DoWork += new DoWorkEventHandler(agentCountWorker_DoWork); agentCountWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(agentCountWorker_RunWorkerCompleted); AddClientEvents(); }
public frmNotecardEditor(SleekInstance instance, InventoryItem item) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; this.item = item; AddNetcomEvents(); this.Text = item.Name + " (notecard) - SLeek"; client.Assets.OnAssetReceived += new AssetManager.AssetReceivedCallback(Assets_OnAssetReceived); transferID = client.Assets.RequestInventoryAsset(item.AssetUUID, item.UUID, LLUUID.Zero, item.OwnerID, item.AssetType, false); }
public TabsConsole(SleekInstance instance) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddNetcomEvents(); InitializeMainTab(); InitializeChatTab(); ApplyConfig(this.instance.Config.CurrentConfig); this.instance.Config.ConfigApplied += new EventHandler<ConfigAppliedEventArgs>(Config_ConfigApplied); }
public frmProfile(SleekInstance instance, string fullName, LLUUID agentID) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; this.fullName = fullName; this.agentID = agentID; this.Text = fullName + " (profile) - SLeek"; AddClientEvents(); AddNetcomEvents(); InitializeProfile(); }
public frmPlayer(METAboltInstance instance) { InitializeComponent(); this.instance = instance; client = this.instance.Client; netcom = this.instance.Netcom; Disposed += new EventHandler(Player_Disposed); netcom.TeleportStatusChanged += new EventHandler<TeleportEventArgs>(TP_Callback); PopulateStations(); listBox2.SelectedIndex = 3; }
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); }
public frmTPhistory(METAboltInstance instance) { InitializeComponent(); this.instance = instance; client = this.instance.Client; netcom = this.instance.Netcom; dataGridView1.DataSource = instance.TP; dataGridView1.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader); string msg1 = "To delete a history record, select the whole row by clicking the arrow on the left of the row and hit the DEL button on your keyboard"; toolTip = new Popup(customToolTip = new CustomToolTip(instance, msg1)); toolTip.AutoClose = false; toolTip.FocusOnOpen = false; toolTip.ShowingAnimation = toolTip.HidingAnimation = PopupAnimations.Blend; }