public graphConfig( Graph g, GraphControl gcont ) { InitializeComponent(); gr = g; gr.configTab(tabPage2); tabPage3.Controls.Add(gcont); }
public graphConfig( Graph g, GraphControl gcont ) { InitializeComponent(); // will not allow to open another config window in this config window gcont.inMenu = true; // copies graph so that can modify else where gr = g; // put in the graph specific settings in tab 2 gr.configTab(tabPage2); // put a preview graph in tab 3 tabPage3.Controls.Add(gcont); // will put on settings that were chosen before on the graph InitConfig(); }