//點擊新增記帳功能
        private void AddAccountButton_Click(object sender, EventArgs e)
        {
            InputForm a = new InputForm(DateTime.Now);

            a.Owner = this;
            a.SetType(ACCOUNT_ADD);
            a.ShowDialog();
        }
        //click新增行程按鈕
        private void addTaskButton_Click(object sender, EventArgs e)
        {
            InputForm addForm = new InputForm(selectedDate, _schedule.Count());

            addForm.Owner = this;
            addForm.SetType(SCHEDULE_ADD);
            addForm.ShowDialog();
        }
        //點擊編輯記帳按鈕
        private void editAccountButton_Click(object sender, EventArgs e)
        {
            int       selectedAccountItemIndex = Convert.ToInt32(accountListView.SelectedItems[0].SubItems[0].Text);
            InputForm a = new InputForm(DateTime.Now, selectedAccountItemIndex);

            a.Owner = this;
            a.SetType(ACCOUNT_EDIT);
            a.ShowDialog();
        }
        //click編輯行程按鈕
        private void editTaskButton_Click(object sender, EventArgs e)
        {
            int       selectedEventItemId = Convert.ToInt32(eventListView.SelectedItems[0].SubItems[0].Text);
            InputForm a = new InputForm(selectedDate, selectedEventItemId);

            a.Owner = this;
            a.SetType(SCHEDULE_EDIT);
            a.ShowDialog();
        }