예제 #1
0
        public FrmLookup(Int64 System_ModulesID, String Args)
        {
            InitializeComponent();

            String[] Arr_Arg = Args.Split(',');

            try
            {
                foreach (String Item_Arg in Arr_Arg)
                {
                    String[] iArr_Arg = Item_Arg.Split('=');
                    switch (iArr_Arg[0].ToUpper())
                    {
                        case "VN":
                            this.mViewName = iArr_Arg[1];
                            break;
                        case "TN":
                            this.mTableName = iArr_Arg[1];
                            break;
                        case "LN":
                            this.mLookupName = @"Lookup: " + iArr_Arg[1];
                            break;
                        case "LID":
                            this.mLookupID = Do_Methods.Convert_Int64(iArr_Arg[1]);
                            break;
                    }
                }
            }
            catch { }

            ClsLookup Obj_Lookup = new ClsLookup(Layer03_Common.CurrentUser, this.mTableName, this.mViewName, this.mLookupID);
            base.Setup(Obj_Lookup, System_ModulesID);
        }
예제 #2
0
        protected override void SetupForm_Bindings()
        {
            base.SetupForm_Bindings();

            this.Text = this.mLookupName;

            this.mBase = (ClsLookup)base.mBase;
            this.mBase.Load((DataObjects_Framework.Objects.Keys)null);

            this.SetupForm_Grid();
            this.SetupForm_EventHandlers();
        }