public FriendsConsole(SleekInstance instance) { InitializeComponent(); this.instance = instance; client = this.instance.Client; }
public TPTabWindow(SleekInstance instance, InstantMessageEventArgs e) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; ProcessEventArgs(e); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); SleekInstance instance = new SleekInstance(true); Application.Run(instance.MainForm); instance = null; }
public InventoryScriptConsole(SleekInstance instance, InventoryItem item) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; this.item = item; }
public frmPay(SleekInstance instance, LLUUID target, string name) { InitializeComponent(); this.instance = instance; client = this.instance.Client; this.target = target; this.name = txtPerson.Text = name; }
public frmDisconnected(SleekInstance instance, ClientDisconnectEventArgs e) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; AddNetcomEvents(); lblMessage.Text = e.Message; }
public PrefTextConsole(SleekInstance instance) { InitializeComponent(); this.instance = instance; config = this.instance.Config; chkChatTimestamps.Checked = config.CurrentConfig.ChatTimestamps; chkIMTimestamps.Checked = config.CurrentConfig.IMTimestamps; }
public StateManager(SleekInstance instance) { this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddNetcomEvents(); AddClientEvents(); InitializeAgentUpdateTimer(); }
public frmPreferences(SleekInstance instance) { InitializeComponent(); this.instance = instance; panes = new Dictionary<string, IPreferencePane>(); AddPreferencePane(new PrefGeneralConsole(instance)); AddPreferencePane(new PrefTextConsole(instance)); lbxPanes.SelectedIndex = 0; }
public frmDebugLog(SleekInstance instance) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddClientEvents(); this.Disposed += new EventHandler(frmDebugLog_Disposed); }
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 PrefGeneralConsole(SleekInstance instance) { InitializeComponent(); this.instance = instance; config = this.instance.Config; if (config.CurrentConfig.InterfaceStyle == 0) rdoSystemStyle.Checked = true; else if (config.CurrentConfig.InterfaceStyle == 1) rdoOfficeStyle.Checked = true; }
public frmObjects(SleekInstance instance) { InitializeComponent(); this.instance = instance; client = this.instance.Client; client.Network.OnDisconnected += new NetworkManager.DisconnectedCallback(Network_OnDisconnected); btnPointAt.Text = (this.instance.State.IsPointing ? "Unpoint" : "Point At"); btnSitOn.Text = (this.instance.State.IsSitting ? "Stand Up" : "Sit On"); }
public frmTeleport(SleekInstance instance) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddNetcomEvents(); AddClientEvents(); SetDefaultValues(); }
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 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 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 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 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 frmDetachedTab(SleekInstance instance, SleekTab tab) { InitializeComponent(); this.instance = instance; this.tab = tab; this.Controls.Add(tab.Control); tab.Control.BringToFront(); AddTabEvents(); this.Text = tab.Label + " (tab) - SLeek"; ApplyConfig(this.instance.Config.CurrentConfig); this.instance.Config.ConfigApplied += new EventHandler<ConfigAppliedEventArgs>(Config_ConfigApplied); }
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 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 InventoryConsole(SleekInstance instance) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; clip = new InventoryClipboard(client); ApplyConfig(this.instance.Config.CurrentConfig); this.instance.Config.ConfigApplied += new EventHandler<ConfigAppliedEventArgs>(Config_ConfigApplied); this.Disposed += new EventHandler(InventoryConsole_Disposed); InitializeImageList(); InitializeTree(); GetRoot(); }
public IMTabWindow(SleekInstance instance, LLUUID target, LLUUID session, string toName) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; this.target = target; this.session = session; this.toName = toName; textManager = new IMTextManager(this.instance, new RichTextBoxPrinter(rtbIMText), this.session); this.Disposed += new EventHandler(IMTabWindow_Disposed); ApplyConfig(this.instance.Config.CurrentConfig); this.instance.Config.ConfigApplied += new EventHandler<ConfigAppliedEventArgs>(Config_ConfigApplied); }
public frmMain(SleekInstance instance) { InitializeComponent(); this.instance = instance; client = this.instance.Client; netcom = this.instance.Netcom; netcom.NetcomSync = this; AddNetcomEvents(); client.Parcels.OnParcelProperties += new ParcelManager.ParcelPropertiesCallback(Parcels_OnParcelProperties); InitializeStatusTimer(); RefreshWindowTitle(); ApplyConfig(this.instance.Config.CurrentConfig, true); this.instance.Config.ConfigApplied += new EventHandler<ConfigAppliedEventArgs>(Config_ConfigApplied); }
public InventoryImageConsole(SleekInstance instance, InventoryItem item) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; this.item = item; if (instance.ImageCache.ContainsImage(item.AssetUUID)) SetFinalImage(instance.ImageCache.GetImage(item.AssetUUID)); else { this.Disposed += new EventHandler(InventoryImageConsole_Disposed); client.Assets.OnImageReceived += new AssetManager.ImageReceivedCallback(Assets_OnImageReceived); client.Assets.RequestImage(item.AssetUUID, ImageType.Normal, 125000.0f, 0); } }
public ChatConsole(SleekInstance instance) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; client = this.instance.Client; AddNetcomEvents(); AddClientEvents(); chatManager = new ChatTextManager(instance, new RichTextBoxPrinter(rtbChat)); chatManager.PrintStartupMessage(); this.instance.MainForm.Load += new EventHandler(MainForm_Load); ApplyConfig(this.instance.Config.CurrentConfig); this.instance.Config.ConfigApplied += new EventHandler<ConfigAppliedEventArgs>(Config_ConfigApplied); }
public void Detach(SleekInstance instance) { if (!allowDetach) return; if (detached) return; owner = new frmDetachedTab(instance, this); detached = true; OnTabDetached(EventArgs.Empty); }