Esempio n. 1
0
 public MainForm()
 {
     this.InitializeComponent();
     this.ImportedSTB = new STB();
     this.ExportedSTB = new STB();
     this.ImportedSTL = new STL();
     this.ExportedSTL = new STL();
     this.ImportedMZSC = new ZSC();
     this.ImportedWZSC = new ZSC();
     this.ExportedMZSC = new ZSC();
     this.ExportedWZSC = new ZSC();
     this.ImportedCHR = new CHR();
     this.ExportedCHR = new CHR();
 }
Esempio n. 2
0
 public void LoadTexture(string clientPath, GraphicsDevice graphics, ZSC.Materiel Materiel)
 {
     this.texture = Texture2D.FromFile(graphics, clientPath + "\\" + Materiel.path);
     this.Materiel = Materiel;
 }
Esempio n. 3
0
 private void buttonNew_Click(object sender, EventArgs e)
 {
     this.listBoxImported.Items.Clear();
     this.listBoxExported.Items.Clear();
     this.richTextBoxHistory.Text = "";
     this.ImportedSTB = new STB();
     this.ExportedSTB = new STB();
     this.ImportedSTL = new STL();
     this.ExportedSTL = new STL();
     this.ImportedMZSC = new ZSC();
     this.ImportedWZSC = new ZSC();
     this.ExportedMZSC = new ZSC();
     this.ExportedWZSC = new ZSC();
     this.ImportedCHR = new CHR();
     this.ExportedCHR = new CHR();
     this.textBoxName.Clear();
     this.textBoxDescription.Clear();
     this.tabControl.SelectedIndex = 0;
 }
Esempio n. 4
0
 public void SetZSC(ZSC MZSC, ZSC WZSC)
 {
     this.previewControl.ClearZMS();
     this.MZSC = MZSC;
     this.WZSC = WZSC;
 }