private void btn_add_layer_Click(object sender, EventArgs e) { NewLayer newLayer = new NewLayer(); newLayer.ProjectPath = ProjectPath; newLayer.ShowDialog(); InitTheInterface(); RefeshAllTabs(); }
/// <summary> /// Constructeur principal /// </summary> public LayersPanel() { InitializeComponent(); _Service = new LayersPanelService(); _NewLayer = new NewLayer(); _NewLayer.FormClosing += new FormClosingEventHandler(_NewLayer_FormClosing); _ColorManager = new ImageColorManager(); _ColorManager.ColorTransformationChanged += new EventHandler(_ColorManager_ColorTransformationChanged); }