OpenTween.TweenMain.ShowSuplDialog C# (CSharp) Method

ShowSuplDialog() public method

public ShowSuplDialog ( TextBox owner, AtIdSupplement dialog ) : void
owner TextBox
dialog AtIdSupplement
return void
        public void ShowSuplDialog(TextBox owner, AtIdSupplement dialog)
        {
            ShowSuplDialog(owner, dialog, 0, "");
        }

Same methods

TweenMain::ShowSuplDialog ( TextBox owner, AtIdSupplement dialog, int offset ) : void
TweenMain::ShowSuplDialog ( TextBox owner, AtIdSupplement dialog, int offset, string startswith ) : void

Usage Example

コード例 #1
0
        private void FilterTextBox_KeyPress(object sender, KeyPressEventArgs e)
        {
            TweenMain main = (TweenMain)this.Owner;
            TextBox   tbox = (TextBox)sender;

            if (e.KeyChar == '@')
            {
                //if (!SettingDialog.UseAtIdSupplement) return;
                //@マーク
                main.ShowSuplDialog(tbox, main.AtIdSupl);
                e.Handled = true;
            }
            else if (e.KeyChar == '#')
            {
                //if (!SettingDialog.UseHashSupplement) return;
                main.ShowSuplDialog(tbox, main.HashSupl);
                e.Handled = true;
            }
        }
All Usage Examples Of OpenTween.TweenMain::ShowSuplDialog
TweenMain