Пример #1
0
        //show multiple stores
        private void LoanInquiryMultStore_Load(object sender, EventArgs e)
        {
            _ownerfrm           = Owner;
            NavControlBox.Owner = this;

            ShopsTreenode locTreenode = new ShopsTreenode();

            //load store info & show it
            locTreenode.LoadTreeview();
            locTreenode.ShowVisible(this.panelLocations);

            this.PerformLayout();
        }
Пример #2
0
        //clear all checked checkboxes
        private void customButtonClear_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Clear all selections?", "Clear Location Selections", MessageBoxButtons.YesNo).Equals(DialogResult.Yes))
            {
                ShopsTreenode locTreenode = new ShopsTreenode();
                locTreenode.ClearSelection();
                locTreenode.ShowVisible(this.panelLocations);

                this.customButtonClear.Enabled    = false;
                this.customButtonContinue.Enabled = false;

                this.PerformLayout();
            }
        }