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

            sourceForm.Reset();
            sourceForm.Show();
        }
예제 #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();
     }
 }
예제 #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();
			}
		}
예제 #4
0
		private void addFunctionClick(object sender, System.EventArgs e) {
			SourceForm sourceForm = new SourceForm(graph, null, this);
			sourceForm.Reset();
			sourceForm.Show();
		}