DEVELOP
How do I use D E V E L O P
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
56 | private void aboutDeveloperToolStripMenuItem_Click(object sender, EventArgs e) | 1 |
84 | MessageBox.Show("Develop by Hassan Malik ","Go to New File", MessageBoxButtons.OK); | 2 |
File name: Home.cs
Copy
56 private void aboutDeveloperToolStripMenuItem_Click(object sender, EventArgs e)
57 {
58 MessageBox.Show("Developed By: Neeta Kadam");
59 }
File name: notepad1.cs
Copy
63 private void newFileMaMethod()
64 {
65 //mainrichTextBox.Clear();
66 //agr new p clilck kry to ye msg ay
67 if (isFileDirty)
68 {
69
70
71 DialogResult result = MessageBox.Show("Do you want to save changes ? ", "File Save", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Information);
72 //yes no k lye code
73 switch (result)
74 {
75
76 case DialogResult.Yes:
77 savefilemanu();
78 break;
79
80 case DialogResult.No:
81
82 break;
83 case DialogResult.Cancel:
84 MessageBox.Show("Develop by Hassan Malik ","Go to New File", MessageBoxButtons.OK);
85 //undoKlyeMethod();
86 break;
87
88 }
89
90 }
91
92 //mehod ha ye right click kr k iski defination ma ja k dekh skty ha
93 clearScreen(); //agr file ma kch ni ha to clearscreen ka jo khudsy method bnaya ha wo chly
94
95 //ye save k lye kia ha k phly koi file ni ha r dirty b ni ha r open b ni ha koi file
96 isFileAlreadySave = false;
97 currentOpenFileName = "";
98
99 EnableDisableUndoRedoProcessKaMethog(false);
100
101 messagetoolStripStatusLabel.Text = "New Document is Created ";
102
103 }
Download file with original file name:DEVELOP
DEVELOP 149 lượt xem
Gõ tìm kiếm nhanh...