Esempio n. 1
0
        private void addFunctionClick(object sender, System.EventArgs e)
        {
            SourceForm sourceForm = new SourceForm(graph, null, this);

            sourceForm.Reset();
            sourceForm.Show();
        }
Esempio n. 2
0
 private void EditClick(object sender, System.EventArgs e)
 {
     if (((EditMenuItem)sender).item is FunctionItem)
     {
         SourceForm sourceForm = new SourceForm(graph,
                                                (FunctionItem)((EditMenuItem)sender).item, this);
         sourceForm.Reset();
         sourceForm.Show();
     }
     else if (((EditMenuItem)sender).item is DataItem)
     {
         DataForm dataForm = new DataForm(graph, (DataItem)((EditMenuItem)sender).item, this);
         dataForm.Reset();
         dataForm.Show();
     }
 }
Esempio n. 3
0
		private void EditClick(object sender, System.EventArgs e) {
			if (((EditMenuItem)sender).item is FunctionItem) {
				SourceForm sourceForm = new SourceForm(graph,
					(FunctionItem)((EditMenuItem)sender).item, this);
				sourceForm.Reset();
				sourceForm.Show();
			} else if (((EditMenuItem)sender).item is DataItem) {
				DataForm dataForm = new DataForm(graph, (DataItem)((EditMenuItem)sender).item, this);
				dataForm.Reset();
				dataForm.Show();
			}
		}
Esempio n. 4
0
		private void addFunctionClick(object sender, System.EventArgs e) {
			SourceForm sourceForm = new SourceForm(graph, null, this);
			sourceForm.Reset();
			sourceForm.Show();
		}