Exemple #1
0
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////
        /* 초기화 및 종료처리 */
        private void Form_Main_Load(object sender, EventArgs e)
        {
            ProgramCore.CharacterAction.SetAction("Nothing");

            m_formCmdList = new Form_CmdList(this.PictureBox_Char, this);
            m_formCalender = new Form_Calender(this.PictureBox_Char, this, m_formCmdList);

            m_formCmdList.Show();
            m_formCalender.Show();

            m_formCmdList.Hide();
            m_formCalender.Hide();
        }
Exemple #2
0
        private void Form_Main_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (m_formCmdList != null && m_formCmdList.IsDisposed == false)
            {
                m_formCmdList.Destroy();
                m_formCmdList.Dispose();

                m_formCmdList = null;
            }

            if (m_formCalender != null && m_formCalender.IsDisposed == false)
            {
                m_formCalender.Dispose();

                m_formCalender = null;
            }
        }
Exemple #3
0
        private void ToolStripMenuItem_ShowCalender_Click(object sender, EventArgs e)
        {
            // 일정 보기
            if (m_formCalender.IsDisposed)
            {
                m_formCalender = new Form_Calender(this.PictureBox_Char, this, m_formCmdList);
            }

            m_formCalender.Show();
        }