/// <summary> /// Function to show the form frmQuickLaunch /// </summary> /// <param name="frmObj"></param> public void Shows(frmQuickLaunch frmObj) { try { frmQuick = frmObj; base.Show(); } catch (Exception ex) { MessageBox.Show("MC:3 " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to show quick launch menu /// </summary> public void ShowQuickLaunchMenu() { try { frmQuickLaunch objHedder = new frmQuickLaunch(); objHedder.MdiParent = this; objHedder.Location = this.Location; int a = this.Size.Width; int b = this.Size.Height; objHedder.Size = new Size(200, b - 120); objHedder.Location = new Point(a - 212, 0); objHedder.Anchor = AnchorStyles.Left; objHedder.Show(); } catch (Exception ex) { MessageBox.Show("MDI 10:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }