예제 #1
0
        public TreeFilterDlg(IBaseWindow baseWin)
        {
            InitializeComponent();

            btnAccept.Image = UIHelper.LoadResourceImage("Resources.btn_accept.gif");
            btnCancel.Image = UIHelper.LoadResourceImage("Resources.btn_cancel.gif");

            fPersonsList         = new GKSheetList(Panel1);
            fPersonsList.Buttons = EnumSet <SheetButton> .Create(SheetButton.lbAdd, SheetButton.lbDelete);

            fPersonsList.OnModify += ListModify;
            fPersonsList.AddColumn(LangMan.LS(LSID.LSID_RPIndividuals), 350, false);

            // SetLocale()
            btnAccept.Text    = LangMan.LS(LSID.LSID_DlgAccept);
            btnCancel.Text    = LangMan.LS(LSID.LSID_DlgCancel);
            Title             = LangMan.LS(LSID.LSID_MIFilter);
            rgBranchCut.Text  = LangMan.LS(LSID.LSID_BranchCut);
            rbCutNone.Text    = LangMan.LS(LSID.LSID_Not);
            rbCutYears.Text   = LangMan.LS(LSID.LSID_BCut_Years);
            lblYear.Text      = LangMan.LS(LSID.LSID_Year);
            rbCutPersons.Text = LangMan.LS(LSID.LSID_BCut_Persons);
            lblRPSources.Text = LangMan.LS(LSID.LSID_RPSources);

            fController = new TreeFilterDlgController(this);
            fController.Init(baseWin);
        }
예제 #2
0
        public AddressEditDlg()
        {
            InitializeComponent();

            fPhonesList           = new GKSheetList(pagePhones);
            fPhonesList.OnModify += ListModify;
            fPhonesList.AddColumn(LangMan.LS(LSID.LSID_Telephone), 350, false);

            fMailsList           = new GKSheetList(pageEmails);
            fMailsList.OnModify += ListModify;
            fMailsList.AddColumn(LangMan.LS(LSID.LSID_Mail), 350, false);

            fWebsList           = new GKSheetList(pageWebPages);
            fWebsList.OnModify += ListModify;
            fWebsList.AddColumn(LangMan.LS(LSID.LSID_WebSite), 350, false);

            // SetLang()
            btnAccept.Text     = LangMan.LS(LSID.LSID_DlgAccept);
            btnCancel.Text     = LangMan.LS(LSID.LSID_DlgCancel);
            Title              = LangMan.LS(LSID.LSID_Address);
            pageCommon.Text    = LangMan.LS(LSID.LSID_Address);
            lblCountry.Text    = LangMan.LS(LSID.LSID_AdCountry);
            lblState.Text      = LangMan.LS(LSID.LSID_AdState);
            lblCity.Text       = LangMan.LS(LSID.LSID_AdCity);
            lblPostalCode.Text = LangMan.LS(LSID.LSID_AdPostalCode);
            lblAddress.Text    = LangMan.LS(LSID.LSID_Address);
            pagePhones.Text    = LangMan.LS(LSID.LSID_Telephones);
            pageEmails.Text    = LangMan.LS(LSID.LSID_EMails);
            pageWebPages.Text  = LangMan.LS(LSID.LSID_WebSites);
        }
예제 #3
0
        public TreeFilterDlg(IBaseWindow baseWin)
        {
            InitializeComponent();

            btnAccept.Image = GKResources.iBtnAccept;
            btnCancel.Image = GKResources.iBtnCancel;

            fBase                = baseWin;
            fPersonsList         = new GKSheetList(Panel1);
            fPersonsList.Buttons = EnumSet <SheetButton> .Create(SheetButton.lbAdd, SheetButton.lbDelete);

            fPersonsList.OnModify += ListModify;
            fPersonsList.AddColumn(LangMan.LS(LSID.LSID_RPIndividuals), 350, false);

            // SetLang()
            btnAccept.Text    = LangMan.LS(LSID.LSID_DlgAccept);
            btnCancel.Text    = LangMan.LS(LSID.LSID_DlgCancel);
            Text              = LangMan.LS(LSID.LSID_MIFilter);
            rgBranchCut.Text  = LangMan.LS(LSID.LSID_BranchCut);
            rbCutNone.Text    = LangMan.LS(LSID.LSID_Not);
            rbCutYears.Text   = LangMan.LS(LSID.LSID_BCut_Years);
            lblYear.Text      = LangMan.LS(LSID.LSID_Year);
            rbCutPersons.Text = LangMan.LS(LSID.LSID_BCut_Persons);
            lblRPSources.Text = LangMan.LS(LSID.LSID_RPSources);
        }
예제 #4
0
        public OrganizerWin(IBaseWindow baseWin)
        {
            InitializeComponent();

            fBase = baseWin;

            fAdrList         = new GKSheetList(pageAddresses);
            fAdrList.Buttons = EnumSet <SheetButton> .Create();

            fAdrList.AddColumn(LangMan.LS(LSID.LSID_Person), 350, false);
            fAdrList.AddColumn(LangMan.LS(LSID.LSID_Address), 100, false);

            fPhonesList         = new GKSheetList(pageTelephones);
            fPhonesList.Buttons = EnumSet <SheetButton> .Create();

            fPhonesList.AddColumn(LangMan.LS(LSID.LSID_Person), 350, false);
            fPhonesList.AddColumn(LangMan.LS(LSID.LSID_Telephone), 100, false);

            fMailsList         = new GKSheetList(pageMails);
            fMailsList.Buttons = EnumSet <SheetButton> .Create();

            fMailsList.AddColumn(LangMan.LS(LSID.LSID_Person), 350, false);
            fMailsList.AddColumn(LangMan.LS(LSID.LSID_Mail), 100, false);

            fWebsList         = new GKSheetList(pageWebs);
            fWebsList.Buttons = EnumSet <SheetButton> .Create();

            fWebsList.AddColumn(LangMan.LS(LSID.LSID_Person), 350, false);
            fWebsList.AddColumn(LangMan.LS(LSID.LSID_WebSite), 100, false);

            Title = LangMan.LS(LSID.LSID_MIOrganizer);
            pageAddresses.Text  = LangMan.LS(LSID.LSID_Addresses);
            pageTelephones.Text = LangMan.LS(LSID.LSID_Telephones);
            pageMails.Text      = LangMan.LS(LSID.LSID_Mails);
            pageWebs.Text       = LangMan.LS(LSID.LSID_Webs);

            fController = new OrganizerController(this);
            fController.Init(baseWin);
        }
예제 #5
0
        public AddressEditDlg(IBaseWindow baseWin)
        {
            InitializeComponent();

            btnAccept.Image = UIHelper.LoadResourceImage("Resources.btn_accept.gif");
            btnCancel.Image = UIHelper.LoadResourceImage("Resources.btn_cancel.gif");

            fPhonesList = new GKSheetList(pagePhones);
            fPhonesList.SetControlName("fPhonesList"); // for purpose of tests
            fPhonesList.OnModify += ListModify;
            fPhonesList.AddColumn(LangMan.LS(LSID.LSID_Telephone), 350, false);

            fMailsList = new GKSheetList(pageEmails);
            fMailsList.SetControlName("fMailsList"); // for purpose of tests
            fMailsList.OnModify += ListModify;
            fMailsList.AddColumn(LangMan.LS(LSID.LSID_Mail), 350, false);

            fWebsList = new GKSheetList(pageWebPages);
            fWebsList.SetControlName("fWebsList"); // for purpose of tests
            fWebsList.OnModify += ListModify;
            fWebsList.AddColumn(LangMan.LS(LSID.LSID_WebSite), 350, false);

            // SetLocale()
            btnAccept.Text     = LangMan.LS(LSID.LSID_DlgAccept);
            btnCancel.Text     = LangMan.LS(LSID.LSID_DlgCancel);
            Title              = LangMan.LS(LSID.LSID_Address);
            pageCommon.Text    = LangMan.LS(LSID.LSID_Address);
            lblCountry.Text    = LangMan.LS(LSID.LSID_AdCountry);
            lblState.Text      = LangMan.LS(LSID.LSID_AdState);
            lblCity.Text       = LangMan.LS(LSID.LSID_AdCity);
            lblPostalCode.Text = LangMan.LS(LSID.LSID_AdPostalCode);
            lblAddress.Text    = LangMan.LS(LSID.LSID_Address);
            pagePhones.Text    = LangMan.LS(LSID.LSID_Telephones);
            pageEmails.Text    = LangMan.LS(LSID.LSID_EMails);
            pageWebPages.Text  = LangMan.LS(LSID.LSID_WebSites);

            fController = new AddressEditDlgController(this);
            fController.Init(baseWin);
        }
예제 #6
0
        public AddressEditDlg()
        {
            InitializeComponent();

            btnAccept.Image = GKResources.iBtnAccept;
            btnCancel.Image = GKResources.iBtnCancel;

            fPhonesList = new GKSheetList(pagePhones);
            fPhonesList.SetControlName("fPhonesList"); // for purpose of tests
            fPhonesList.OnModify += ListModify;
            fPhonesList.AddColumn(LangMan.LS(LSID.LSID_Telephone), 350, false);

            fMailsList = new GKSheetList(pageEmails);
            fMailsList.SetControlName("fMailsList"); // for purpose of tests
            fMailsList.OnModify += ListModify;
            fMailsList.AddColumn(LangMan.LS(LSID.LSID_Mail), 350, false);

            fWebsList = new GKSheetList(pageWebPages);
            fWebsList.SetControlName("fWebsList"); // for purpose of tests
            fWebsList.OnModify += ListModify;
            fWebsList.AddColumn(LangMan.LS(LSID.LSID_WebSite), 350, false);

            // SetLang()
            btnAccept.Text     = LangMan.LS(LSID.LSID_DlgAccept);
            btnCancel.Text     = LangMan.LS(LSID.LSID_DlgCancel);
            Text               = LangMan.LS(LSID.LSID_Address);
            pageCommon.Text    = LangMan.LS(LSID.LSID_Address);
            lblCountry.Text    = LangMan.LS(LSID.LSID_AdCountry);
            lblState.Text      = LangMan.LS(LSID.LSID_AdState);
            lblCity.Text       = LangMan.LS(LSID.LSID_AdCity);
            lblPostalCode.Text = LangMan.LS(LSID.LSID_AdPostalCode);
            lblAddress.Text    = LangMan.LS(LSID.LSID_Address);
            pagePhones.Text    = LangMan.LS(LSID.LSID_Telephones);
            pageEmails.Text    = LangMan.LS(LSID.LSID_EMails);
            pageWebPages.Text  = LangMan.LS(LSID.LSID_WebSites);
        }