/// constructor
        public TFrmtestChkbox(Form AParentForm) : base()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            #region CATALOGI18N

            // this code has been inserted by GenerateI18N, all changes in this region will be overwritten by GenerateI18N
            this.lblSonst.Text           = Catalog.GetString("Sonst") + ":";
            this.mniClose.ToolTipText    = Catalog.GetString("Closes this window");
            this.mniClose.Text           = Catalog.GetString("&Close");
            this.mniFile.Text            = Catalog.GetString("&File");
            this.mniHelpPetraHelp.Text   = Catalog.GetString("&OpenPetra Help");
            this.mniHelpBugReport.Text   = Catalog.GetString("Bug &Report");
            this.mniAbout.Text           = Catalog.GetString("&About OpenPetra");
            this.mniDevelopmentTeam.Text = Catalog.GetString("&The Development Team...");
            this.mniHelp.Text            = Catalog.GetString("&Help");
            this.Text = Catalog.GetString("Test screen");
            #endregion

            FPetraUtilsObject = new Ict.Petra.Client.CommonForms.TFrmPetraUtils(AParentForm, this, stbMain);
            FPetraUtilsObject.ActionEnablingEvent += ActionEnabledEvent;

            FPetraUtilsObject.InitActionState();
            chkParentCheckedChanged(null, null);
            chkSonstCheckedChanged(null, null);
            chkChildCheckedChanged(null, null);
        }
    /// constructor
    public TFrmtestChkbox(Form AParentForm) : base()
    {
      //
      // Required for Windows Form Designer support
      //
      InitializeComponent();
      #region CATALOGI18N

      // this code has been inserted by GenerateI18N, all changes in this region will be overwritten by GenerateI18N
      this.lblSonst.Text = Catalog.GetString("Sonst") + ":";
      this.mniClose.ToolTipText = Catalog.GetString("Closes this window");
      this.mniClose.Text = Catalog.GetString("&Close");
      this.mniFile.Text = Catalog.GetString("&File");
      this.mniHelpPetraHelp.Text = Catalog.GetString("&OpenPetra Help");
      this.mniHelpBugReport.Text = Catalog.GetString("Bug &Report");
      this.mniAbout.Text = Catalog.GetString("&About OpenPetra");
      this.mniDevelopmentTeam.Text = Catalog.GetString("&The Development Team...");
      this.mniHelp.Text = Catalog.GetString("&Help");
      this.Text = Catalog.GetString("Test screen");
      #endregion

      FPetraUtilsObject = new Ict.Petra.Client.CommonForms.TFrmPetraUtils(AParentForm, this, stbMain);
      FPetraUtilsObject.ActionEnablingEvent += ActionEnabledEvent;

      FPetraUtilsObject.InitActionState();
      chkParentCheckedChanged(null, null);
      chkSonstCheckedChanged(null, null);
      chkChildCheckedChanged(null, null);

    }
Exemple #3
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="AParentForm"></param>
        public TLocationFindDialogWinForm(Form AParentForm) : base()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            FPetraUtilsObject = new Ict.Petra.Client.CommonForms.TFrmPetraUtils(AParentForm, this, stbMain);

            FLocationFindObject = TRemote.MPartner.Partner.UIConnectors.PartnerLocationFind();

            FPetraUtilsObject.InitActionState();
            FDefaultValues = FFindCriteriaDataTable.NewRow();

            lblSearchInfo.Text = "";
            grdResult.SendToBack();

            // catch enter on all controls, to trigger search or accept (could use this.AcceptButton, but we have a search button and an Accept Button)
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CatchEnterKey);

            this.Closed += new System.EventHandler(this.TLocationFindDialogWinForm_Closed);
        }