private void ClipMaster_Click(object sender, EventArgs e) { ClipForm cf = null; cf = new ClipForm(); cf.SizeChanged += Form_SizeChanged; cf.FormClosed += (fcSender, fcE) => { Show(); }; cf.Show(); Hide(); }
/// <summary> /// 裁剪图层 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void iClip_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { ClipForm clip = new ClipForm(this); clip.Show(); }