コード例 #1
0
 private void btnEditNameReference_Click(object sender, EventArgs e)
 {
     using (var refWindow = new ReferenceWindow())
     {
         var eng = refWindow.ShowWindow("");
         if (eng.Label != null) txtNameReference.Text = "#" + eng.Label;
     }
 }
コード例 #2
0
 private void btnEditNameReference_Click(object sender, EventArgs e)
 {
     using (var refWindow = new ReferenceWindow())
     {
         var eng = refWindow.ShowWindow("");
         if (eng.Label != null)
         {
             txtNameReference.Text = "#" + eng.Label;
         }
     }
 }
コード例 #3
0
 private void btnEditSetName_Click(object sender, EventArgs e)
 {
     using (var refWindow = new ReferenceWindow())
     {
         var eng = refWindow.ShowWindow(txtSetName.Text.TrimStart(new[] {'#'}));
         if (eng.Label != null) txtSetName.Text = "#" + eng.Label;
     }
 }