Esempio n. 1
0
 private void Build_ToolStripButton_Click(object sender, EventArgs e)
 {
     for (int i = 0; i < tabControlCode.TabCount; i++)
     {
         if (tabControlCode.TabPages[i].Focus())
         {
             foreach (FastColoredTextBox item in tabControlCode.TabPages[i].Controls)
             {
                 if (item is FastColoredTextBox)
                 {
                     this.proj.csfile[i].Text = item.Text;
                 }
             }
         }
     }
     BuildEvent?.Invoke(this, new ProjectEventArgs()
     {
         project = this.proj
     });
 }
Esempio n. 2
0
 public void OnBuildMethod(GameObject Tile)
 {
     BuildEvent?.Invoke(CopyobjectToBuild, Tile);
     CopyobjectToBuild.GetComponent <TowerLogic>().BeginLogic();
     CopyobjectToBuild = null;
 }
Esempio n. 3
0
 /// <summary>
 /// Raises the <see cref="E:BuildErrorEvent" /> event.
 /// </summary>
 /// <param name="e">The <see cref="BuildEventArgs"/> instance containing the event data.</param>
 private static void OnBuildEvent(BuildEventArgs e)
 {
     BuildEvent?.Invoke(null, e);
 }
Esempio n. 4
0
 private void BuildMN_Click(object sender, EventArgs e)
 {
     BuildEvent.Invoke(sender, e);
 }
Esempio n. 5
0
 public void BuildTL_Click(object sender, EventArgs e)
 {
     BuildEvent.Invoke(sender, e);
 }