Esempio n. 1
0
        public ServiceForm(AbstractBoosterService service = null, MapleConfig config = null)
        {
            this.MapleConfig = config;
            InitializeComponent();
            BindControlValue();

            this.BoosterService = service;
            if (service == null)
            {
                BoosterService = this.BoosterService ?? (AbstractBoosterService)Activator.CreateInstance(Type.GetType(this.ServiceType.SelectedValue.ToString()));
                this.BindDefaultSelectValue();
            }
            this.BindSelectVale();
        }
Esempio n. 2
0
        public MainForm()
        {
            MapleConfig = new MapleConfig();
            if (this.MapleConfig.ServiceData == null)
            {
                this.MapleConfig.ServiceData = new List <ServiceConfig>();
            }

            timer_Record.Tick += Timer_Record_Tick;

            InitializeComponent();
            this.UpGradeGroup();
            this.ReloadHotKeys();
            this.LoadGroupData();
            this.ReloadServices();
        }
Esempio n. 3
0
 public SettingForm(MapleConfig config)
 {
     MapleConfig = config;
     InitializeComponent();
 }