コード例 #1
0
ファイル: frmMain.cs プロジェクト: amoun00/Contributions
        private void buttonEdgeProperties_Click(object sender, EventArgs e)
        {
            EdgeWrapper node_to_edit = CurrentSelectedEdgeWrapper();
            if (node_to_edit == null) return;

            PropertiesEditor node_dialog = new PropertiesEditor();
            node_dialog.InitForEdge(node_to_edit);
            node_dialog.ShowDialog();
        }
コード例 #2
0
        private void buttonEdgeProperties_Click(object sender, EventArgs e)
        {
            EdgeWrapper node_to_edit = CurrentSelectedEdgeWrapper();

            if (node_to_edit == null)
            {
                return;
            }

            PropertiesEditor node_dialog = new PropertiesEditor();

            node_dialog.InitForEdge(node_to_edit);
            node_dialog.ShowDialog();
        }