Beispiel #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
     });
 }
Beispiel #2
0
 public void OnBuildMethod(GameObject Tile)
 {
     BuildEvent?.Invoke(CopyobjectToBuild, Tile);
     CopyobjectToBuild.GetComponent <TowerLogic>().BeginLogic();
     CopyobjectToBuild = null;
 }
Beispiel #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);
 }
Beispiel #4
0
 private void BuildMN_Click(object sender, EventArgs e)
 {
     BuildEvent.Invoke(sender, e);
 }
Beispiel #5
0
 public void BuildTL_Click(object sender, EventArgs e)
 {
     BuildEvent.Invoke(sender, e);
 }