Ejemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            GraphControl = new GraphSharpControl();

            elementHost1.Child = GraphControl;
        }
Ejemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();

            GraphControl = new GraphSharpControl(this);

            elementHost1.Child = GraphControl;

            reprof_filename = "c:\\SCintro.reprof";

            using (var dialog = new OpenFileDialog {
                Title = "Open reprof file", Filter = "reprof traces|*.reprof|All files|*.*"
            })
            {
                if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    reprof_filename = dialog.FileName;
                }
            }

            reprof_load(reprof_filename);

            reprof();
        }
Ejemplo n.º 3
0
        private void NewGraph()
        {
            GraphControl = new GraphSharpControl(this);

            elementHost1.Child = GraphControl;
        }