Beispiel #1
0
        private void EditScheme(string filename)
        {
            var editor = new FEditor();

            editor.LoadXMLFile(filename);
            editor.ShowDialog();
            loadDeviceMaps();
        }
Beispiel #2
0
        private void NewScheme()
        {
            var editor = new FEditor();

            if (editor.OpenFileDialog())
            {
                editor.ShowDialog();
            }
        }
Beispiel #3
0
 public FEditorItem(FEditor form)
 {
     parent = form;
     InitializeComponent();
     dataGridView1.CellValueChanged += gridViewDataChanged;
     dataGridView1.MouseClick       += dataGridView_MouseClick;
     dataGridView1.DataError        += DataGridView1_DataError;
     dataGridView2.CellValueChanged += gridViewDataChanged;
     dataGridView2.CellContentClick += dataGridView2_CellContentClick;
     dataGridView2.MouseClick       += dataGridView_MouseClick;
     dataGridView2.DataError        += DataGridView1_DataError;
 }