Example #1
0
        public static (eBTNTYPE rtn, string rlt) ShowInputBoxDlg(PackIconKind icon, string title)
        {
            frm_InputBox box = new frm_InputBox(icon, title);

            box.Topmost = true;
            box.ShowDialog();
            return(box._BtnRlt, box._Content);
        }
Example #2
0
        public (eBTNTYPE rtn, string rlt) ShowInputBoxDlg(PackIconKind icon, string title)
        {
            frm_InputBox box          = new frm_InputBox();
            INPUTBOXDATA inputBoxData = new INPUTBOXDATA
            {
                packIcon = icon,
                title    = title
            };

            OnEventInputBoxData?.Invoke(this, inputBoxData);
            box.Topmost = true;
            box.ShowDialog();
            return(btnRlt, content);
        }