Exemple #1
0
        private void StartTreeNode_DoubleClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            if (e.Button == MouseButtons.Left)
            {
                switch (e.Node.Text.ToUpper())
                {
                case "SERMON/BIBLE STUDY":
                    SermonViewNew.CreateNewSermon(parentForm);
                    break;

                case "SERIES":
                    Series series = new Series();
                    series.ShowDialog();
                    break;
                }
            }
        }
Exemple #2
0
 /// <summary>
 /// Occurs when the Sermon MenuItem is clicked.
 /// </summary>
 /// <param name="sender">Control that initiated the event.</param>
 /// <param name="e">Event arguments.</param>
 public void SermonToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SermonViewNew.CreateNewSermon(this);
 }