Пример #1
0
        public frm_Main()
        {
            #region Required for Windows Form Designer support
            InitializeComponent();
            #endregion
            #region Event safeguard...
            this.Closing += new System.ComponentModel.CancelEventHandler(this.frm_Main_Closing);
            #endregion
            ntierproject = new cFGenerator();
            this.Form_Refresh();

            if (
                                #if !NET_1_1
                System.Configuration.ConfigurationManager.AppSettings
                                #else
                System.Configuration.ConfigurationSettings.AppSettings
                                #endif
                [frm_about.APPSETTINGS_LICENSE] != frm_about.APPSETTINGS_LICENSE_IHAVEREADLINCENSE
                )
            {
                frm_about about = new frm_about();
                about.ShowDialog();
            }
        }
Пример #2
0
        //#endregion

        #region Events...
        private void miHelp_About_Click(object sender, System.EventArgs e)
        {
            frm_about about = new frm_about();

            about.ShowDialog();
        }
Пример #3
0
		//#endregion

		#region Events...
		private void miHelp_About_Click(object sender, System.EventArgs e) {
			frm_about about = new frm_about();
			about.ShowDialog();
		}
Пример #4
0
		public frm_Main() {
			#region Required for Windows Form Designer support
			InitializeComponent();
			#endregion
			#region Event safeguard...
			this.Closing += new System.ComponentModel.CancelEventHandler(this.frm_Main_Closing);
			#endregion
			ntierproject = new cFGenerator();
			this.Form_Refresh();

			if (
				#if !NET_1_1
				System.Configuration.ConfigurationManager.AppSettings
				#else
				System.Configuration.ConfigurationSettings.AppSettings
				#endif
					[frm_about.APPSETTINGS_LICENSE] != frm_about.APPSETTINGS_LICENSE_IHAVEREADLINCENSE
			) {
				frm_about about = new frm_about();
				about.ShowDialog();
			}
		}