示例#1
0
        public frmOperator(MemberTagIO MTO)
        {
            // Required
            InitializeComponent();

            memTagIO = MTO;

            // Set event handlers
            foreach (Control obj in groupBox2.Controls)
            {
                if (obj.GetType() == typeof(Button))
                {
                    var btn = (Button)obj;
                    int i   = 0;

                    if (int.TryParse(btn.Text, out i))
                    {
                        btn.Click += numberButtonPress;
                    }
                }
            }
        }
示例#2
0
        public frmSearch(MemberTagIO mto)
        {
            InitializeComponent();

            MTO = mto;
        }
示例#3
0
        public frmMain()
        {
            InitializeComponent();

            MTO = new MemberTagIO();
        }