Exemplo n.º 1
0
        public ArchServerForm(string[] aArgs)
        {
            InitializeComponent();
            Logger = new TextBoxLogger(mOutput);
            Server = new PlugInsServer(Logger);

            mPort.Text = PlugInsServer.DefaultPort.ToString();

            mPlugInsListView.SelectedIndexChanged +=
                (sender, args) => mSettingsToolStripButton.Enabled = mPlugInsListView.SelectedItems.Count > 0;
            mPlugInsListView.SelectedIndexChanged +=
                (sender, args) => mRemoveToolStripButton.Enabled = mPlugInsListView.SelectedItems.Count > 0;

            mNameColumnHeader.ImageIndex = 3;
        }
Exemplo n.º 2
0
 public ArchServerForm()
 {
     InitializeComponent();
     Logger       = new TextBoxLogger(mOutput);
     ModulePugIns = new ModulePlugIns(Logger);
 }