Example #1
0
        public CollectionRenameView()
        {
            InitializeComponent();

            textBox_newCollectionName.TextChanged += (s, a) => CollectionNameChanged?.Invoke(this, EventArgs.Empty);
            button_rename.Click += (s, a) => Submited?.Invoke(this, EventArgs.Empty);
            button_cancel.Click += (s, a) => Canceled?.Invoke(this, EventArgs.Empty);
        }
        public CollectionRenameView()
        {
            InitializeComponent();

            textBox_newCollectionName.TextChanged += (s, a) => CollectionNameChanged?.Invoke(this, EventArgs.Empty);
            button_rename.Click += Button_renameOnClick;
            button_cancel.Click += OnButton_CancelOnClick;
            ActiveControl        = textBox_newCollectionName;
        }