....
This commit is contained in:
@@ -13,7 +13,7 @@ namespace FPJ0000.Note
|
||||
{
|
||||
int idx = -1;
|
||||
Boolean copyMOde = false;
|
||||
Boolean bInit = false;
|
||||
// Boolean bInit = false;
|
||||
string sGUID = string.Empty;
|
||||
public fNote_Add(int idx_, Boolean copy = false)
|
||||
{
|
||||
@@ -84,20 +84,20 @@ namespace FPJ0000.Note
|
||||
{
|
||||
this.richTextBoxEx1.Rtf = dr.description2;
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
this.richTextBoxEx1.Text = dr.description;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (sGUID.isEmpty())
|
||||
if (String.IsNullOrEmpty(sGUID))
|
||||
sGUID = Guid.NewGuid().ToString();
|
||||
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
this.richTextBoxEx1.Focus();
|
||||
|
||||
bInit = true;
|
||||
// bInit = true;
|
||||
}
|
||||
// editform.editor ed;
|
||||
void ctl_KeyDown(object sender, KeyEventArgs e)
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace FPJ0000.Note
|
||||
public partial class fTextEditor : Form
|
||||
{
|
||||
|
||||
Boolean bInit = false;
|
||||
// Boolean bInit = false;
|
||||
public fTextEditor(string rtf)
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -38,7 +38,7 @@ namespace FPJ0000.Note
|
||||
|
||||
this.richTextBoxEx1.Focus();
|
||||
|
||||
bInit = true;
|
||||
// bInit = true;
|
||||
}
|
||||
// editform.editor ed;
|
||||
void ctl_KeyDown(object sender, KeyEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user