コード例 #1
0
 /// <summary>
 /// Open Settings form on click of menustrip
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void settingsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.Hide();
     Settings settings = new Settings();
     settings.ShowDialog();
     this.Close();
 }
コード例 #2
0
        /// <summary>
        /// Open Settings form
        /// </summary>
        public void OpenSettingsFrom()
        {
            this.Hide();
            Settings settings = new Settings();
            settings.ShowDialog();
            this.Close();

        }