Пример #1
0
 /// <summary>
 /// Modify variable
 /// </summary>
 /// <param name="sender">sender</param>
 /// <param name="e">arg</param>
 private void varsModifyItem_Click(object sender, EventArgs e)
 {
     if (FunLab.EditVariable(vars, po))
     {
         this.AddUndo();
         txtSource.Text = po.ToString();
         this.Text      = "Editor - " + this.fileName + " *";
     }
 }
Пример #2
0
 /// <summary>
 /// When edit button clicked
 /// </summary>
 /// <param name="sender">object</param>
 /// <param name="e">arg</param>
 private void btnEdit_Click(object sender, EventArgs e)
 {
     this.Hide();
     FunLab.EditVariable(vars, pv);
     this.Show();
 }