public void CreateInSize(FractalDataHandlerControler Controler) { SizeEditor se = new SizeEditor("Фрактал джулии"); se.BuldButtonClick += (o, size) => { Controler.DeactivateHandlers(); this.Reset(size.Width, size.Height); }; se.OtherWindowButtonClick += (o, size) => { this.Create_in_other_window(_fractal.GetClone(), size.Width, size.Height, Controler); }; se.ShowDialog(_owner); }
public void ChangeSizeFromWindow(FractalDataHandlerControler controler) { SizeEditor se = new SizeEditor("Новый размер"); se.BuldButtonClick += (sender, size) => { controler.DeactivateHandlers(); this.ReShow(size.Width, size.Height); }; se.OtherWindowButtonClick += (sender, size) => { this.Create_in_other_window(_fractal.GetClone(), size.Width, size.Height, 0, 0, _width, _height, controler); }; se.ShowDialog(_owner); }
public void ConnectResetWithSizeFromWindowToMenuItem(ToolStripMenuItem menuitem, FractalDataHandlerControler Controler) { menuitem.Click += (sender, e) => { SizeEditor se = new SizeEditor("Новый фрактал"); se.BuldButtonClick += (o, size) => { Controler.DeactivateHandlers(); this.Reset(size.Width, size.Height); }; se.OtherWindowButtonClick += (o, size) => { this.Create_in_other_window(_fractal.GetClone(), size.Width, size.Height, Controler); }; se.ShowDialog(_owner); }; }
public void ChangeSizeFromWindow(FractalDataHandlerControler controler) { SizeEditor se = new SizeEditor("Новый размер"); se.BuldButtonClick += (sender, size) => { controler.DeactivateHandlers(); this.ReShow(size.Width,size.Height); }; se.OtherWindowButtonClick += (sender, size) => {this.Create_in_other_window(_fractal.GetClone(),size.Width,size.Height,0,0,_width,_height,controler); }; se.ShowDialog(_owner); }
public void ConnectResetWithSizeFromWindowToMenuItem(ToolStripMenuItem menuitem, FractalDataHandlerControler Controler) { menuitem.Click+=(sender,e)=>{ SizeEditor se = new SizeEditor("Новый фрактал"); se.BuldButtonClick += (o, size) => { Controler.DeactivateHandlers(); this.Reset(size.Width,size.Height); }; se.OtherWindowButtonClick += (o, size) => { this.Create_in_other_window(_fractal.GetClone(), size.Width, size.Height, Controler); }; se.ShowDialog(_owner); }; }