Пример #1
0
 protected virtual void OnSnippetSelected(SnippetEventArgs args)
 {
     if (SnippetSelected != null)
     {
         SnippetSelected(this, args);
     }
 }
Пример #2
0
 private void ButtonClick(object sender, EventArgs e)
 {
     var b = (Button) sender;
     var args = new SnippetEventArgs(b.Text);
     SnippetSelected(this,args);
     //throwEvent(b.Text);
 }
Пример #3
0
	    protected virtual void OnSnippetSelected(SnippetEventArgs args)
		{
			if(SnippetSelected != null)
			{
				SnippetSelected(this,args);
			}
		}
Пример #4
0
        private void ButtonClick(object sender, EventArgs e)
        {
            var b    = (KryptonButton)sender;
            var args = new SnippetEventArgs(b.Text);

            SnippetSelected(this, args);
            //throwEvent(b.Text);
        }
Пример #5
0
 void SfSnippetSelected(object sender, SnippetEventArgs args)
 {
     _df.ContentText = _df.ContentText.Insert(_df.SelectionStart, new SnippetsHelper().Snippets[args.Snippet].ToString());
 }
Пример #6
0
 void SfSnippetSelected(object sender, SnippetEventArgs args)
 {
     _df.ContentText = _df.ContentText.Insert(_df.SelectionStart,new SnippetsHelper().Snippets[args.Snippet].ToString());
 }
Пример #7
0
 private void SfSnippetSelected(object sender, SnippetEventArgs args)
 {
     documentForm.ContentText = documentForm.ContentText.Insert(documentForm.SelectionStart, new SnippetsHelper().Snippets[args.Snippet].ToString());
 }