Example #1
0
 public Employee_Window()
 {
     BaseStart.Start();
     InitializeComponent();
     DateControl_Class.ControlMonth();
     this.GetSetting();
     LoadMenu();
     DateControl_Class.Selectors(SelectorDate, Action);
     SC = new View_Class(ShowGrid, SearchText);
     SC.ColumnsSelector(Columns);
     ElementControl();
     InstructionsMessage_Class.LoadInstructions(ThisMenu, data.ETypeInstruction.DefWindow);
     this.Closed += (sender, e) => Application.Current.Shutdown();
 }
        public Employee_Window()
        {
            BaseStart.Start();
            InitializeComponent();
            DateControl_Class.ControlMonth();
            this.GetSetting();
            LoadMenu();
            ElementControl();
            InstructionsMessage_Class.LoadInstructions(ThisMenu, data.ETypeInstruction.DefWindow);

            SC = new View_Class(ShowGrid, SearchText);

            DateControl_Class.Selectors(SelectorDate);

            DateControl_Class.OnPeriodChange += Action;
            ShowGrid.MouseDoubleClick        += (sender, e) => Action();

            Action();
        }