Esempio n. 1
0
 private void button11_Click(object sender, EventArgs e)
 {
     OthersMenuForm frm = new OthersMenuForm();
     this.ShowForm(frm);
 }
Esempio n. 2
0
 private void tojiruButton_Click(object sender, EventArgs e)
 {
     OthersMenuForm frm = new OthersMenuForm();
     Program.mForm.ShowForm(frm);
 }
        ////////////////////////////////////////////////////////////////////////////
        //  イベント名 : tojiruButton_Click
        /// <summary>
        /// 
        /// </summary>
        /// <param name="e"></param>
        /// <param name="sender"></param>
        /// <history>
        /// 日付    担当者   内容
        /// 2014/08/18  DatNT   新規作成
        /// </history>
        ////////////////////////////////////////////////////////////////////////////
        private void tojiruButton_Click(object sender, EventArgs e)
        {
            TraceLog.StartWrite(MethodInfo.GetCurrentMethod());
            Cursor preCursor = Cursor.Current;

            try
            {
                Cursor.Current = Cursors.WaitCursor;

                OthersMenuForm frm = new OthersMenuForm();
                Program.mForm.ShowForm(frm);
            }
            catch (Exception ex)
            {
                TraceLog.ErrorWrite(MethodInfo.GetCurrentMethod(), ex.ToString());
                MessageForm.Show(MessageForm.DispModeType.Error, MessageResouce.MSGID_E00001, ex.Message);
            }
            finally
            {
                Cursor.Current = preCursor;
                TraceLog.EndWrite(MethodInfo.GetCurrentMethod());
            }
        }