예제 #1
0
        public MergeContext(IGlobalContexts global) : base(global)
        {
            TLKs = global.TLKs;

            PathList = new ObservableCollection <string>();

            Tabs = new MergeTabsModel(global);
        }
예제 #2
0
        public MergeTabItem(IGlobalContexts global, TLKTextCollection first, TLKTextCollection second) : base(global)
        {
            _Collection[0] = first;
            _Collection[1] = second;

            _First.IsCompare  = true;
            _Second.IsCompare = true;

            Tabs = new DiffTabsModel();

            Tabs.Add(new DiffTabItem(global.Settings)
            {
                ContextName = "Red"
            });
            Tabs.Add(new DiffTabItem(global.Settings)
            {
                ContextName = "Blue"
            });

            TabSelectedItem = Tabs[0];

            Initialize();
        }
예제 #3
0
        public WorkContext(IGlobalContexts global) : base(global)
        {
            Tabs = new WorkTabsModel(global, this);

            _SelectedTLKTEXT = new TLKTEXT(0, string.Empty);
        }
예제 #4
0
 public TabContext(IGlobalContexts global) : base(global)
 {
 }
예제 #5
0
 public TLKContext(IGlobalContexts global)
 {
     Settings = global.Settings;
     MsgPopup = global.MsgPopup;
 }
예제 #6
0
 public WorkTabsModel(IGlobalContexts global, WorkContext context)
 {
     _Global      = global;
     _workContext = context;
 }
예제 #7
0
 public WorkTabItem(IGlobalContexts global) : base(global)
 {
     Tabs = new EditTabsModel();
 }
예제 #8
0
 public MergeTabsModel(IGlobalContexts global)
 {
     _Global = global;
 }