Comment out until it compiles!
This commit is contained in:
parent
a3d8b659a5
commit
96c2e0f49c
6 changed files with 47 additions and 164 deletions
|
@ -45,7 +45,6 @@ using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
using LSLEditor.org.lsleditor.www;
|
|
||||||
|
|
||||||
|
|
||||||
namespace LSLEditor.BugReport
|
namespace LSLEditor.BugReport
|
||||||
|
@ -200,19 +199,19 @@ namespace LSLEditor.BugReport
|
||||||
|
|
||||||
private void listView2_SelectedIndexChanged(object sender, EventArgs e)
|
private void listView2_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (this.listView2.SelectedItems.Count == 0)
|
/*if (this.listView2.SelectedItems.Count == 0)
|
||||||
return;
|
return;
|
||||||
ListViewItem lvi = this.listView2.SelectedItems[0];
|
ListViewItem lvi = this.listView2.SelectedItems[0];
|
||||||
string Handle = lvi.Tag.ToString();
|
string Handle = lvi.Tag.ToString();
|
||||||
|
|
||||||
Service1 service1 = new Service1();
|
Service1 service1 = new Service1();
|
||||||
service1.GetStatusCompleted += new GetStatusCompletedEventHandler(service1_GetStatusCompleted);
|
service1.GetStatusCompleted += new GetStatusCompletedEventHandler(service1_GetStatusCompleted);
|
||||||
service1.GetStatusAsync(Handle, Handle);
|
service1.GetStatusAsync(Handle, Handle);*/
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
void service1_GetStatusCompleted(object sender, GetStatusCompletedEventArgs e)
|
void service1_GetStatusCompleted(object sender, GetStatusCompletedEventArgs e)
|
||||||
{
|
{
|
||||||
this.textBox5.Clear();
|
/*this.textBox5.Clear();
|
||||||
string Handle = e.UserState.ToString();
|
string Handle = e.UserState.ToString();
|
||||||
if (e.Error != null)
|
if (e.Error != null)
|
||||||
{
|
{
|
||||||
|
@ -253,7 +252,7 @@ namespace LSLEditor.BugReport
|
||||||
}
|
}
|
||||||
|
|
||||||
this.textBox4.Text = strResult.Replace("\n", "\r\n");
|
this.textBox4.Text = strResult.Replace("\n", "\r\n");
|
||||||
}
|
}*/
|
||||||
|
|
||||||
private void deleteToolStripMenuItem_Click(object sender, EventArgs e)
|
private void deleteToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
|
@ -111,8 +111,8 @@ namespace LSLEditor.BugReport
|
||||||
int intTotal = 0;
|
int intTotal = 0;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
org.lsleditor.www.Service1 webservice = new org.lsleditor.www.Service1();
|
//org.lsleditor.www.Service1 webservice = new org.lsleditor.www.Service1();
|
||||||
|
/*
|
||||||
string Handle = webservice.Open();
|
string Handle = webservice.Open();
|
||||||
if (Handle == null)
|
if (Handle == null)
|
||||||
{
|
{
|
||||||
|
@ -140,7 +140,7 @@ namespace LSLEditor.BugReport
|
||||||
intTotal += Upload(Handle, strFileName, file.Path);
|
intTotal += Upload(Handle, strFileName, file.Path);
|
||||||
}
|
}
|
||||||
intNumber++;
|
intNumber++;
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
@ -179,7 +179,7 @@ namespace LSLEditor.BugReport
|
||||||
}
|
}
|
||||||
private int Upload(string Handle, string FileName, byte[] buffer)
|
private int Upload(string Handle, string FileName, byte[] buffer)
|
||||||
{
|
{
|
||||||
org.lsleditor.www.Service1 webservice = new org.lsleditor.www.Service1();
|
/*org.lsleditor.www.Service1 webservice = new org.lsleditor.www.Service1();
|
||||||
if (Handle == null)
|
if (Handle == null)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
@ -203,7 +203,8 @@ namespace LSLEditor.BugReport
|
||||||
intTotal += intLength;
|
intTotal += intLength;
|
||||||
SetValue(intTotal);
|
SetValue(intTotal);
|
||||||
}
|
}
|
||||||
return intTotal;
|
return intTotal;*/
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private int Upload(string Handle, string FileName, string strPath)
|
private int Upload(string Handle, string FileName, string strPath)
|
||||||
|
|
|
@ -1,120 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<root>
|
|
||||||
<!--
|
|
||||||
Microsoft ResX Schema
|
|
||||||
|
|
||||||
Version 2.0
|
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
|
||||||
that is mostly human readable. The generation and parsing of the
|
|
||||||
various data types are done through the TypeConverter classes
|
|
||||||
associated with the data types.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
||||||
<resheader name="version">2.0</resheader>
|
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
||||||
</data>
|
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
||||||
<comment>This is a comment</comment>
|
|
||||||
</data>
|
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
|
||||||
name/value pairs.
|
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
|
||||||
text/value conversion through the TypeConverter architecture.
|
|
||||||
Classes that don't support this are serialized and stored with the
|
|
||||||
mimetype set.
|
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
|
||||||
read any of the formats listed below.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
||||||
value : The object must be serialized into a byte array
|
|
||||||
: using a System.ComponentModel.TypeConverter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
-->
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:choice maxOccurs="unbounded">
|
|
||||||
<xsd:element name="metadata">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="assembly">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="data">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="resheader">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>2.0</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
</root>
|
|
|
@ -13,6 +13,7 @@ using System.Windows.Forms;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Drawing.Printing;
|
using System.Drawing.Printing;
|
||||||
using System.CodeDom.Compiler;
|
using System.CodeDom.Compiler;
|
||||||
|
using System.Xml;
|
||||||
|
|
||||||
|
|
||||||
// aximp is oude informatie, maar ik laat het er even instaan
|
// aximp is oude informatie, maar ik laat het er even instaan
|
||||||
|
@ -666,11 +667,13 @@ namespace LSLEditor
|
||||||
this.Text += " " + strVersion;
|
this.Text += " " + strVersion;
|
||||||
|
|
||||||
// load the keywords and colors, give handle to codecompletion listBox
|
// load the keywords and colors, give handle to codecompletion listBox
|
||||||
this.numberedTextBoxUC1.TextBox.Init("ConfLSL.xml");
|
XmlDocument conf = new XmlDocument();
|
||||||
|
conf.LoadXml("ConfLSL.xml");
|
||||||
|
//this.numberedTextBoxUC1.TextBox.Init(this,conf);
|
||||||
|
|
||||||
if (args.Length == 0)
|
if (args.Length == 0)
|
||||||
{
|
{
|
||||||
this.numberedTextBoxUC1.TextBox.GetExampleFile();
|
//this.numberedTextBoxUC1.TextBox.GetExampleFile();
|
||||||
this.saveFileDialog1.FileName = "new.lsl";
|
this.saveFileDialog1.FileName = "new.lsl";
|
||||||
this.menuItem13.Text = "Save new.lsl";
|
this.menuItem13.Text = "Save new.lsl";
|
||||||
this.menuItem13.Enabled = false;
|
this.menuItem13.Enabled = false;
|
||||||
|
@ -761,17 +764,17 @@ namespace LSLEditor
|
||||||
// ZNI note:
|
// ZNI note:
|
||||||
// Old compiler is deprecated and obsolete. Microsoft now recommends to use Microsoft.CSharp.CSharpCodeProvider.
|
// Old compiler is deprecated and obsolete. Microsoft now recommends to use Microsoft.CSharp.CSharpCodeProvider.
|
||||||
// TODO: Add this in.
|
// TODO: Add this in.
|
||||||
compiler = Microsoft.CSharp.CSharpCodeProvider.CreateProvider("csharp").CreateCompiler();
|
//compiler = Microsoft.CSharp.CSharpCodeProvider.CreateProvider("csharp").CreateCompiler();
|
||||||
compiler = new System.CodeDom.Compiler.ICodeCompiler(this.FullDebug, "ConfLSL.xml", this.numberedTextBoxUC1.TextBox.Text);
|
//compiler = new System.CodeDom.Compiler.ICodeCompiler(this.FullDebug, "ConfLSL.xml", this.numberedTextBoxUC1.TextBox.Text);
|
||||||
if (compiler.CompilerErrors != null)
|
//if (compiler.CompilerErrors != null)
|
||||||
{
|
//{
|
||||||
MessageBox.Show(compiler.CompilerErrors, "compiler errors");
|
// MessageBox.Show(compiler.CompilerErrors, "compiler errors");
|
||||||
return;
|
// return;
|
||||||
}
|
//}
|
||||||
|
|
||||||
if (this.menuItem33.Checked)
|
if (this.menuItem33.Checked)
|
||||||
{
|
{
|
||||||
compiler.ShowDialog(this);
|
// compiler.ShowDialog(this);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -792,7 +795,7 @@ namespace LSLEditor
|
||||||
this.tabControl1.TabPages.Add(tabPage);
|
this.tabControl1.TabPages.Add(tabPage);
|
||||||
this.tabControl1.SelectedIndex = this.tabControl1.TabCount - 1;
|
this.tabControl1.SelectedIndex = this.tabControl1.TabCount - 1;
|
||||||
}
|
}
|
||||||
tabPage.Controls.Add(compiler.Controls[0]);
|
//tabPage.Controls.Add(compiler.Controls[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -867,14 +870,14 @@ namespace LSLEditor
|
||||||
// F1
|
// F1
|
||||||
private void ShowHelp()
|
private void ShowHelp()
|
||||||
{
|
{
|
||||||
string strKeyWord = this.numberedTextBoxUC1.TextBox.GetCurrentKeyWord(false);
|
/*string strKeyWord = this.numberedTextBoxUC1.TextBox.GetCurrentKeyWord(false);
|
||||||
|
|
||||||
string strUrl = this.numberedTextBoxUC1.TextBox.HelpUrl + "wakka.php?wakka=" + strKeyWord;
|
string strUrl = this.numberedTextBoxUC1.TextBox.HelpUrl + "wakka.php?wakka=" + strKeyWord;
|
||||||
|
|
||||||
if (strKeyWord == "")
|
if (strKeyWord == "")
|
||||||
strKeyWord = "Help";
|
strKeyWord = "Help";
|
||||||
|
|
||||||
ShowWebBrowser(strKeyWord, strUrl);
|
ShowWebBrowser(strKeyWord, strUrl);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// show context menu for tab headers
|
// show context menu for tab headers
|
||||||
|
@ -915,7 +918,7 @@ namespace LSLEditor
|
||||||
|
|
||||||
private void menuItem18_Click(object sender, System.EventArgs e)
|
private void menuItem18_Click(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
ShowWebBrowser("Check for Updates", this.numberedTextBoxUC1.TextBox.UpdateUrl);
|
//ShowWebBrowser("Check for Updates", this.numberedTextBoxUC1.TextBox.UpdateUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void menuItem22_Click(object sender, System.EventArgs e)
|
private void menuItem22_Click(object sender, System.EventArgs e)
|
||||||
|
@ -947,7 +950,7 @@ namespace LSLEditor
|
||||||
|
|
||||||
private void menuItem24_Click(object sender, System.EventArgs e)
|
private void menuItem24_Click(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
this.numberedTextBoxUC1.TextBox.UndoPlus();
|
//this.numberedTextBoxUC1.TextBox.UndoPlus();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void menuItem23_Click(object sender, System.EventArgs e)
|
private void menuItem23_Click(object sender, System.EventArgs e)
|
||||||
|
@ -957,9 +960,9 @@ namespace LSLEditor
|
||||||
|
|
||||||
private void menuItem30_Click(object sender, System.EventArgs e)
|
private void menuItem30_Click(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
SimProperties props = new SimProperties();
|
/*SimProperties props = new SimProperties();
|
||||||
props.Icon = this.Icon;
|
props.Icon = this.Icon;
|
||||||
props.ShowDialog(this);
|
props.ShowDialog(this);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
private void menuItem31_Click(object sender, System.EventArgs e)
|
private void menuItem31_Click(object sender, System.EventArgs e)
|
||||||
|
@ -1009,21 +1012,21 @@ namespace LSLEditor
|
||||||
{
|
{
|
||||||
// Format Document
|
// Format Document
|
||||||
AutoFormatter autoFormatter = new AutoFormatter();
|
AutoFormatter autoFormatter = new AutoFormatter();
|
||||||
this.numberedTextBoxUC1.TextBox.Text =
|
//this.numberedTextBoxUC1.TextBox.Text =
|
||||||
autoFormatter.ApplyFormatting(this.numberedTextBoxUC1.TextBox.Text);
|
// autoFormatter.ApplyFormatting(this.numberedTextBoxUC1.TextBox.Text);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void menuItem39_Click(object sender, EventArgs e)
|
private void menuItem39_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
// Format Selection
|
// Format Selection
|
||||||
AutoFormatter autoFormatter = new AutoFormatter();
|
AutoFormatter autoFormatter = new AutoFormatter();
|
||||||
this.numberedTextBoxUC1.TextBox.SelectedText =
|
//this.numberedTextBoxUC1.TextBox.SelectedText =
|
||||||
autoFormatter.ApplyFormatting(this.numberedTextBoxUC1.TextBox.SelectedText);
|
// autoFormatter.ApplyFormatting(this.numberedTextBoxUC1.TextBox.SelectedText);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void menuItem40_Click(object sender, EventArgs e)
|
private void menuItem40_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
ShowWebBrowser("Import Examples", this.numberedTextBoxUC1.TextBox.ExamplesUrl);
|
//ShowWebBrowser("Import Examples", this.numberedTextBoxUC1.TextBox.ExamplesUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ShowWebBrowser(string strTabName, string strUrl)
|
private void ShowWebBrowser(string strTabName, string strUrl)
|
||||||
|
@ -1085,7 +1088,7 @@ namespace LSLEditor
|
||||||
|
|
||||||
void axWebBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
|
void axWebBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
|
||||||
{
|
{
|
||||||
WebBrowser axWebBrowser1 = sender as WebBrowser;
|
/*WebBrowser axWebBrowser1 = sender as WebBrowser;
|
||||||
if (e.Url.ToString() == this.numberedTextBoxUC1.TextBox.UploadUrl)
|
if (e.Url.ToString() == this.numberedTextBoxUC1.TextBox.UploadUrl)
|
||||||
{
|
{
|
||||||
HtmlElement element = axWebBrowser1.Document.GetElementById("SourceCode");
|
HtmlElement element = axWebBrowser1.Document.GetElementById("SourceCode");
|
||||||
|
@ -1126,7 +1129,7 @@ namespace LSLEditor
|
||||||
this.tabControl1.SelectedIndex = this.tabControl1.TabPages.Count - 1;
|
this.tabControl1.SelectedIndex = this.tabControl1.TabPages.Count - 1;
|
||||||
this.Size = oldSize;
|
this.Size = oldSize;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UploadScript()
|
private void UploadScript()
|
||||||
|
@ -1139,12 +1142,12 @@ namespace LSLEditor
|
||||||
this.Size = new Size(640, 480);
|
this.Size = new Size(640, 480);
|
||||||
|
|
||||||
Bitmap bitmap;
|
Bitmap bitmap;
|
||||||
ImageManipulation.GetBitmapFromControl helper = new ImageManipulation.GetBitmapFromControl();
|
//ImageManipulation.GetBitmapFromControl helper = new ImageManipulation.GetBitmapFromControl();
|
||||||
|
|
||||||
this.tabControl1.SelectedIndex = 0;
|
this.tabControl1.SelectedIndex = 0;
|
||||||
bitmap = helper.GetOctreeQuantizedBitmap(this, false);
|
//bitmap = helper.GetOctreeQuantizedBitmap(this, false);
|
||||||
string strTempFileName = Path.GetTempFileName() + ".gif";
|
string strTempFileName = Path.GetTempFileName() + ".gif";
|
||||||
bitmap.Save(strTempFileName, ImageFormat.Gif);
|
//bitmap.Save(strTempFileName, ImageFormat.Gif);
|
||||||
pictures.Add(strTempFileName);
|
pictures.Add(strTempFileName);
|
||||||
|
|
||||||
for (int intI = 1; intI < this.tabControl1.TabPages.Count; intI++)
|
for (int intI = 1; intI < this.tabControl1.TabPages.Count; intI++)
|
||||||
|
@ -1152,9 +1155,9 @@ namespace LSLEditor
|
||||||
if (this.tabControl1.TabPages[intI].Text.Contains("Compiler"))
|
if (this.tabControl1.TabPages[intI].Text.Contains("Compiler"))
|
||||||
{
|
{
|
||||||
this.tabControl1.SelectedIndex = intI;
|
this.tabControl1.SelectedIndex = intI;
|
||||||
bitmap = helper.GetOctreeQuantizedBitmap(this, false);
|
//bitmap = helper.GetOctreeQuantizedBitmap(this, false);
|
||||||
strTempFileName = Path.GetTempFileName() + ".gif";
|
strTempFileName = Path.GetTempFileName() + ".gif";
|
||||||
bitmap.Save(strTempFileName, ImageFormat.Gif);
|
//bitmap.Save(strTempFileName, ImageFormat.Gif);
|
||||||
pictures.Add(strTempFileName);
|
pictures.Add(strTempFileName);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1162,12 +1165,12 @@ namespace LSLEditor
|
||||||
this.tabControl1.SelectedIndex = intSelectedTab;
|
this.tabControl1.SelectedIndex = intSelectedTab;
|
||||||
this.Size = oldSize;
|
this.Size = oldSize;
|
||||||
|
|
||||||
UploadExamle u = new UploadExamle(
|
/*UploadExamle u = new UploadExamle(
|
||||||
Path.GetFileName(this.saveFileDialog1.FileName),
|
Path.GetFileName(this.saveFileDialog1.FileName),
|
||||||
this.numberedTextBoxUC1.TextBox.UploadUrl,
|
this.numberedTextBoxUC1.TextBox.UploadUrl,
|
||||||
this.numberedTextBoxUC1.TextBox.Text,
|
this.numberedTextBoxUC1.TextBox.Text,
|
||||||
pictures);
|
pictures);
|
||||||
u.ShowDialog(this);
|
u.ShowDialog(this);*/
|
||||||
|
|
||||||
// cleanup
|
// cleanup
|
||||||
foreach (string strFileName in pictures)
|
foreach (string strFileName in pictures)
|
||||||
|
|
|
@ -1228,10 +1228,10 @@ namespace LSLEditor
|
||||||
lReturnedDetails.Add(new integer(Properties.Settings.Default.ParcelArea));
|
lReturnedDetails.Add(new integer(Properties.Settings.Default.ParcelArea));
|
||||||
break;
|
break;
|
||||||
case PARCEL_DETAILS_ID:
|
case PARCEL_DETAILS_ID:
|
||||||
lReturnedDetails.Add(new integer(Properties.Settings.Default.ParcelID));
|
lReturnedDetails.Add(new integer(Properties.Settings.Default.ParcelID.ToString()));
|
||||||
break;
|
break;
|
||||||
case PARCEL_DETAILS_SEE_AVATARS:
|
case PARCEL_DETAILS_SEE_AVATARS:
|
||||||
lReturnedDetails.Add(new integer(Properties.Settings.Default.ParcelSeeAvatars));
|
lReturnedDetails.Add( new integer( Properties.Settings.Default.ParcelSeeAvatars ? 1 : 0));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue