private void panel_Title_MouseMove(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { Cla_FrmClass.FrmMove(this, e); if (FrmClass.Example_List_AdhereTo) { Cla_FrmClass.ManyFrmMove(this, e, FrmClass.F_List); Cla_FrmClass.FrmInitialize(FrmClass.F_List); if (FrmClass.Example_Assistant_AdhereTo) { Cla_FrmClass.ManyFrmMove(this, e, FrmClass.F_Libretto); Cla_FrmClass.FrmInitialize(FrmClass.F_Libretto); } } if (FrmClass.Example_Libretto_AdhereTo) { Cla_FrmClass.ManyFrmMove(this, e, FrmClass.F_Libretto); Cla_FrmClass.FrmInitialize(FrmClass.F_Libretto); if (FrmClass.Example_Assistant_AdhereTo) { Cla_FrmClass.ManyFrmMove(this, e, FrmClass.F_List); Cla_FrmClass.FrmInitialize(FrmClass.F_List); } } Cla_FrmClass.FrmInitialize(this); } }
private void pane_Title_MouseMove(object sender, MouseEventArgs e) { FrmClass.Example_Assistant_AdhereTo = false; FrmClass.Example_Libretto_AdhereTo = false; Cla_FrmClass.FrmMove(this, e); }